2D line - Integer More...
#include <line.h>
Inheritance diagram for clan::Line2: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) | |
Public Member Functions inherited from clan::Line2x< int > | |
| 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 > | get_intersection (const Line2x< int > &second, bool &intersect) const |
| Return the intersection of this and other line. | |
| bool | operator!= (const Line2x< int > &line) const |
| != operator. | |
| Line2x< int > & | operator= (const Line2x< int > ©) |
| = operator. | |
| bool | operator== (const Line2x< int > &line) const |
| == operator. | |
| 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. | |
Additional Inherited Members | |
Public Attributes inherited from clan::Line2x< int > | |
| Vec2< int > | p |
| First point on the line. | |
| Vec2< int > | q |
2D line - Integer
|
inline |
|
inline |
|
inline |