Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgLine3 Class Reference

3D Line object. More...

#include <ddggeom.h>

List of all members.


Public Members

 ddgLine3 ( const ddgVector3 p1, const ddgVector3 p2 )
Constructor using 2 points.

bool solve ( ddgVector3 *u, int dim)
Given X, Y or Z coord, find the other 2. Return ddgFailure if unsolvable.

ddgVector3 intersect ( ddgLine3 *)
Return the intersection point of this line with another.

bool intersect ( ddgLine3 *l, ddgVector3 *pt)
Calculate the intersection point of this line with another.

ddgVector3 p
A point on the line.

ddgVector3 d
Slope vector of the line.


Detailed Description

3D Line object.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:54 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999