3D line ray More...
#include <line_ray.h>
Public Member Functions | |
LineRay3x () | |
LineRay3x (const LineRay3x< Type > ©)=default | |
LineRay3x (const Vec3< Type > &point_p, const Vec3< Type > &direction_v) | |
bool | operator!= (const LineRay3x< Type > &line) const |
!= operator. | |
LineRay3x< Type > & | operator= (const LineRay3x< Type > ©)=default |
= operator. | |
bool | operator== (const LineRay3x< Type > &line) const |
== operator. | |
Public Attributes | |
Vec3< Type > | p |
Start point on the line ray. | |
Vec3< Type > | v |
3D line ray
A ray has a start point and a direction
These line templates are defined for: int (LineRay3), float (LineRay3f), double (LineRay3d)
|
inline |
|
default |
|
inline |
|
inline |
!= operator.
References clan::line, clan::LineRay3x< Type >::p, and clan::LineRay3x< Type >::v.
|
default |
= operator.
|
inline |
== operator.
References clan::line, clan::LineRay3x< Type >::p, and clan::LineRay3x< Type >::v.
Vec3<Type> clan::LineRay3x< Type >::p |
Start point on the line ray.
Referenced by clan::LineRay3x< Type >::operator!=(), and clan::LineRay3x< Type >::operator==().
Vec3<Type> clan::LineRay3x< Type >::v |
Referenced by clan::LineRay3x< Type >::operator!=(), and clan::LineRay3x< Type >::operator==().