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

3D line - Float More...

#include <line.h>

Inheritance diagram for CL_Line3f:
Inheritance graph
[legend]

Public Member Functions

 CL_Line3f ()
 
 CL_Line3f (const CL_Line3x< float > &copy)
 
 CL_Line3f (const CL_Vec3< float > &point_p, const CL_Vec3< float > &point_q)
 
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. More...
 
Operators
bool operator== (const CL_Line3x< float > &line) const
 == operator. More...
 
bool operator!= (const CL_Line3x< float > &line) const
 != operator. More...
 

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
inlineinherited

!= operator.

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

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