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