Public Member Functions | Public Attributes

CL_Line3d Class Reference
[clanCore Math]

3D line - Double More...

#include <line.h>

Inheritance diagram for CL_Line3d:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

3D line - Double


Constructor & Destructor Documentation

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]

Member Function Documentation

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.

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< double >::operator!= ( const CL_Line3x< double > &  line  )  const [inline, inherited]

!= operator.

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

== operator.


Member Data Documentation

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

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