Public Member Functions | Public Attributes

CL_Line3f Class Reference
[clanCore Math]

3D line - Float More...

#include <line.h>

Inheritance diagram for CL_Line3f:
Inheritance graph
[legend]

List of all members.

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 > &copy)
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

Detailed Description

3D line - Float


Constructor & Destructor Documentation

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]

Member Function Documentation

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.

Parameters:
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
Returns:
The point
bool CL_Line3x< float >::operator!= ( const CL_Line3x< float > &  line  )  const [inline, inherited]

!= operator.

bool CL_Line3x< float >::operator== ( const CL_Line3x< float > &  line  )  const [inline, inherited]

== operator.


Member Data Documentation

CL_Vec3<float > CL_Line3x< float >::p [inherited]
CL_Vec3<float > CL_Line3x< float >::q [inherited]

The documentation for this class was generated from the following file: