LineSegmentByRef class
From Solid Graphics Wiki
| ||||||||||||
The LineSegmentByRef class specifies a line segment in 3D space using two integer values. The values specify indexes into a point array which contain actual line segment start and end points coordinates. Therefore using this type is always accompanied by using some kind of point list type, usually the PointList class or the PointdList class.
Constructors
Default line segment class constructor does not initialize the line segment point coordinates to any value. This is on purpose for performance reasons. Other class constructor allows to initialize the line segment from two integer values.
Fields
| Field name | Type | Description |
| start | Point | Index of the line segment's start point. |
| end | Point | Index of the line segment's end point. |
Methods
| Method name | Description |
| SwapPoints | Swaps line segment's start and end points. |
Operators
The class has no public operators.
See Also
SolidKit Library Documentation
