3D line - Integer More...
#include <line.h>
Public Member Functions | |
CL_Line3 () | |
CL_Line3 (const CL_Vec3< int > &point_p, const CL_Vec3< int > &point_q) | |
CL_Line3 (const CL_Line3x< int > ©) | |
Attributes | |
CL_Vec3< int > | get_intersection (const CL_Line3x< int > &second, bool &intersect, intrange=(int) 0.5) const |
Return the intersection of this and other line. | |
Operators | |
bool | operator== (const CL_Line3x< int > &line) const |
== operator. | |
bool | operator!= (const CL_Line3x< int > &line) const |
!= operator. | |
Public Attributes | |
CL_Vec3< int > | p |
CL_Vec3< int > | q |
3D line - Integer
CL_Line3::CL_Line3 | ( | ) | [inline] |
CL_Line3::CL_Line3 | ( | const CL_Line3x< int > & | copy | ) | [inline] |
CL_Vec3<int > CL_Line3x< int >::get_intersection | ( | const CL_Line3x< int > & | second, | |
bool & | intersect, | |||
int | 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.
References CL_Line3x< Type >::p, and CL_Line3x< Type >::q.
== operator.
References CL_Line3x< Type >::p, and CL_Line3x< Type >::q.