3D line More...
#include <line.h>

Public Member Functions | |
| CL_Line3x () | |
| CL_Line3x (const CL_Vec3< Type > &point_p, const CL_Vec3< Type > &point_q) | |
| CL_Line3x (const CL_Line3x< Type > ©) | |
Attributes | |
| CL_Vec3< Type > | get_intersection (const CL_Line3x< Type > &second, bool &intersect, Type range=(Type) 0.5) const |
| Return the intersection of this and other line. | |
Operators | |
| CL_Line3x< Type > & | operator= (const CL_Line3x< Type > ©) |
| = operator. | |
| bool | operator== (const CL_Line3x< Type > &line) const |
| == operator. | |
| bool | operator!= (const CL_Line3x< Type > &line) const |
| != operator. | |
Public Attributes | |
| CL_Vec3< Type > | p |
| CL_Vec3< Type > | q |
3D line
These line templates are defined for: int (CL_Line3), float (CL_Line3f), double (CL_Line3d)
| CL_Line3x< Type >::CL_Line3x | ( | const CL_Vec3< Type > & | point_p, | |
| const CL_Vec3< Type > & | point_q | |||
| ) | [inline] |
| CL_Vec3<Type> CL_Line3x< Type >::get_intersection | ( | const CL_Line3x< Type > & | second, | |
| bool & | intersect, | |||
| Type | range = (Type) 0.5 | |||
| ) | const |
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 |
| bool CL_Line3x< Type >::operator!= | ( | const CL_Line3x< Type > & | line | ) | const [inline] |
!= operator.
| CL_Line3x<Type>& CL_Line3x< Type >::operator= | ( | const CL_Line3x< Type > & | copy | ) | [inline] |
= operator.
| bool CL_Line3x< Type >::operator== | ( | const CL_Line3x< Type > & | line | ) | const [inline] |
== operator.
1.7.1