ClanLib  2.3.7
Public Member Functions | Public Attributes | List of all members
CL_Line3d Class Reference

3D line - Double More...

#include <line.h>

Inheritance diagram for CL_Line3d:
Inheritance graph
[legend]

Public Member Functions

 CL_Line3d ()
 
 CL_Line3d (const CL_Line3x< double > &copy)
 
 CL_Line3d (const CL_Vec3< double > &podouble_p, const CL_Vec3< double > &podouble_q)
 
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. More...
 
Operators
bool operator== (const CL_Line3x< double > &line) const
 == operator. More...
 
bool operator!= (const CL_Line3x< double > &line) const
 != operator. More...
 

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
inlineinherited

!= operator.

bool CL_Line3x< double >::operator== ( const CL_Line3x< double > &  line) const
inlineinherited

== 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: