3D line - Float More...
#include <line.h>
Public Member Functions | |
CL_Line3f () | |
CL_Line3f (const CL_Vec3< float > &point_p, const CL_Vec3< float > &point_q) | |
CL_Line3f (const CL_Line3x< float > ©) | |
Attributes | |
CL_Vec3< float > | get_intersection (const CL_Line3x< float > &second, bool &intersect, floatrange=(float) 0.5) const |
Return the intersection of this and other line. | |
Operators | |
bool | operator== (const CL_Line3x< float > &line) const |
== operator. | |
bool | operator!= (const CL_Line3x< float > &line) const |
!= operator. | |
Public Attributes | |
CL_Vec3< float > | p |
CL_Vec3< float > | q |
3D line - Float
CL_Line3f::CL_Line3f | ( | ) | [inline] |
CL_Line3f::CL_Line3f | ( | const CL_Line3x< float > & | copy | ) | [inline] |
CL_Line3f::CL_Line3f | ( | const CL_Vec3< float > & | point_p, | |
const CL_Vec3< float > & | point_q | |||
) | [inline] |
CL_Vec3<float > CL_Line3x< float >::get_intersection | ( | const CL_Line3x< float > & | second, | |
bool & | intersect, | |||
float | range = (Type) 0.5 | |||
) | const [inherited] |
Return the intersection of this and other line.
second | = The second line to use | |
intersect | = On Return: true if the lines intersect, false if the lines are parallel | |
range | = Rounding error delta, to use to judge whether of not the lines intersect |
!= operator.
== operator.