#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. |