3D line - Double More...
#include <line.h>
Public Member Functions | |
CL_Line3d () | |
CL_Line3d (const CL_Vec3< double > &podouble_p, const CL_Vec3< double > &podouble_q) | |
CL_Line3d (const CL_Line3x< double > ©) | |
Attributes | |
CL_Vec3< double > | get_intersection (const CL_Line3x< double > &second, bool &intersect, doublerange=(double) 0.5) const |
Return the intersection of this and other line. | |
Operators | |
bool | operator== (const CL_Line3x< double > &line) const |
== operator. | |
bool | operator!= (const CL_Line3x< double > &line) const |
!= operator. | |
Public Attributes | |
CL_Vec3< double > | p |
CL_Vec3< double > | q |
3D line - Double
CL_Line3d::CL_Line3d | ( | ) | [inline] |
CL_Line3d::CL_Line3d | ( | const CL_Line3x< double > & | copy | ) | [inline] |
CL_Line3d::CL_Line3d | ( | const CL_Vec3< double > & | podouble_p, | |
const CL_Vec3< double > & | podouble_q | |||
) | [inline] |
CL_Vec3<double > CL_Line3x< double >::get_intersection | ( | const CL_Line3x< double > & | second, | |
bool & | intersect, | |||
double | 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.