Public Member Functions | Public Attributes

CL_Line3 Class Reference
[clanCore Math]

3D line - Integer More...

#include <line.h>

Inheritance diagram for CL_Line3:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

3D line - Integer


Constructor & Destructor Documentation

CL_Line3::CL_Line3 (  )  [inline]
CL_Line3::CL_Line3 ( const CL_Line3x< int > &  copy  )  [inline]
CL_Line3::CL_Line3 ( const CL_Vec3< int > &  point_p,
const CL_Vec3< int > &  point_q 
) [inline]

Member Function Documentation

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.

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

!= operator.

References CL_Line3x< Type >::p, and CL_Line3x< Type >::q.

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

== operator.

References CL_Line3x< Type >::p, and CL_Line3x< Type >::q.


Member Data Documentation

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

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