Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TLine Class Reference

Describes a line in 3D Space. More...

#include <line.h>

Collaboration diagram for TLine:

Collaboration graph
[legend]
List of all members.

Public Methods

 TLine ()
 TLine (const TPoint &offset, const TPoint &dir)
const TPointGetDir () const
int GetIntersectionPoint (const TLine &line, TPoint *point) const
const TPointGetOffset () const
void SetDir (const TPoint &dir)
void SetLine (const TPoint &offset, const TPoint &dir)
void SetOffset (const TPoint &offset)

Private Attributes

TPoint fDir
TPoint fOffset

Detailed Description

Describes a line in 3D Space.

Author:
Marco Krohn, <marco.krohn@gmx.de>
Version:
Id:
line.h,v 1.1 2001/11/02 00:15:26 mkrohn5 Exp
See also:
TPoint
FIXME


Member Function Documentation

int TLine::GetIntersectionPoint const TLine &    line,
TPoint   point
const
 

Parameters:
point  The intersection point.
Returns:
The number of intersection points (0, 1, 2=infinity which means that the lines are indentical).


The documentation for this class was generated from the following file:
Generated on Thu Jun 20 18:13:26 2002 for Stellar Legacy by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001