#include <line.h>
Inheritance diagram for CL_Line2:

Public Member Functions | |
| CL_Line2 () | |
| CL_Line2 (const CL_Line2x< int > ©) | |
| CL_Line2 (const CL_Vec2< int > &point_p, const CL_Vec2< int > &point_q) | |
| CL_Line2 (const CL_Vec2< int > &point_p, int gradient) | |
| CL_Vec2< int > | get_intersection (const CL_Line2x< int > &second, bool &intersect) const |
| Return the intersection of this and other line. | |
| int | point_right_of_line (CL_Vec2< int > point) const |
| Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B. | |
| bool | operator== (const CL_Line2x< int > &line) const |
| == operator. | |
| bool | operator!= (const CL_Line2x< int > &line) const |
| != operator. | |
Public Attributes | |
| CL_Vec2< int > | p |
| First point on the line. | |
| CL_Vec2< int > | q |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Return the intersection of this and other line.
|
|
|
!= operator.
|
|
|
== operator.
|
|
|
Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B.
|
|
|
First point on the line.
|
|
|
|
1.4.6