3D line - Integer More...

#include <line.h>

+ Inheritance diagram for clan::Line3:

Public Member Functions

 Line3 ()
 
 Line3 (const Line3x< int > &copy)
 
 Line3 (const Vec3< int > &point_p, const Vec3< int > &point_q)
 
Attributes
Vec3< int > get_intersection (const Line3x< int > &second, bool &intersect, intrange=(int) 0.5) const
 Return the intersection of this and other line. More...
 
Operators
bool operator== (const Line3x< int > &line) const
 == operator. More...
 
bool operator!= (const Line3x< int > &line) const
 != operator. More...
 

Public Attributes

Vec3< int > p
 
Vec3< int > q
 

Detailed Description

3D line - Integer

Member Function Documentation

Vec3<int > clan::Line3x< int >::get_intersection ( const 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 clan::Line3x< int >::operator!= ( const Line3x< int > &  line) const
inlineinherited

!= operator.

References clan::Line3x< Type >::p, and clan::Line3x< Type >::q.

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

== operator.

References clan::Line3x< Type >::p, and clan::Line3x< Type >::q.

Member Data Documentation

Vec3<int > clan::Line3x< int >::p
inherited
Vec3<int > clan::Line3x< int >::q
inherited

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