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

3D line - Integer More...

#include <line.h>

Inheritance diagram for CL_Line3:
Inheritance graph
[legend]

Public Member Functions

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

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
inlineinherited

!= operator.

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

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

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