2D line - Float More...
#include <line.h>
Inheritance diagram for clan::Line2f:Public Member Functions | |
| Line2f () | |
| Line2f (const Line2x< float > ©) | |
| Line2f (const Vec2< float > &point_p, const Vec2< float > &point_q) | |
| Line2f (const Vec2< float > &point_p, float gradient) | |
Public Member Functions inherited from clan::Line2x< float > | |
| Line2x () | |
| Line2x (const Line2x< float > ©) | |
| Line2x (const Vec2< float > &point_p, const Vec2< float > &point_q) | |
| Line2x (const Vec2< float > &point_p, float gradient) | |
| Vec2< float > | get_intersection (const Line2x< float > &second, bool &intersect) const |
| Return the intersection of this and other line. | |
| bool | operator!= (const Line2x< float > &line) const |
| != operator. | |
| Line2x< float > & | operator= (const Line2x< float > ©) |
| = operator. | |
| bool | operator== (const Line2x< float > &line) const |
| == operator. | |
| float | point_right_of_line (Vec2< float > point) const |
| Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B. | |
Additional Inherited Members | |
Public Attributes inherited from clan::Line2x< float > | |
| Vec2< float > | p |
| First point on the line. | |
| Vec2< float > | q |
2D line - Float
|
inline |
|
inline |
|
inline |