2D line - Float
More...
#include <line.h>
CL_Line2f::CL_Line2f |
( |
const CL_Line2x< float > & |
copy) | |
|
|
inline |
CL_Line2f::CL_Line2f |
( |
const CL_Vec2< float > & |
point_p, |
|
|
const CL_Vec2< float > & |
point_q |
|
) |
| |
|
inline |
CL_Line2f::CL_Line2f |
( |
const CL_Vec2< float > & |
point_p, |
|
|
float |
gradient |
|
) |
| |
|
inline |
Return the intersection of this and other line.
- Parameters
-
second | = The second line to use |
intersect | = On Return: true if the lines intersect, false if the lines are parallel |
- Returns
- The point
Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B.
- Parameters
-
- Returns
- Value representing - left (>0), centre (=0), or right (<0)
The documentation for this class was generated from the following file: