Main Page   Modules   Class Hierarchy   Compound List   Compound Members  

GAUGE3D::GSegment Class Reference

Represents a line segment. More...

#include <gauge3d/3dmath/segment.h>

List of all members.

Public Methods

 GSegment ()
 Creates an uninitialized segment.

 GSegment (const GVector &endPoint1,const GVector &endPoint2)
 Creates a segment with the specified endpoints.

void GetLine (GLine *line)const
 Gets the line which the segment is on.

bool Contains (const GVector &point)
 Returns true if the point is on the segment.

GVectoroperator[] (int index)
 Array-like access to endpoints.

const GVectoroperator[] (int index)const
 Array-like access to endpoints.


Detailed Description

Represents a line segment.


The documentation for this class was generated from the following file:
Generated at Tue Jan 30 17:07:34 2001 for gauge3d by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000