LineSegment class
From Solid Graphics Wiki
| ||||||||||||
The LineSegment class specifies a line segment in 3D space using float precision. A line segment is a part of a line/ray that is bounded by two distinct end points, and contains every point on the line between its end points.
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 constructors allow to initialize the line segment from two point coordinates.
Fields
| Field name | Type | Description |
| start | Point | Line segment's start point. |
| end | Point | 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
