#include <gauge3d/3dmath/segment.h>
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. | |
| GVector& | operator[] (int index) |
| Array-like access to endpoints. | |
| const GVector& | operator[] (int index)const |
| Array-like access to endpoints. | |
1.2.4 written by Dimitri van Heesch,
© 1997-2000