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