LineSegmentByRef class

From Solid Graphics Wiki

Jump to: navigation, search
LineSegmentByRef class
Namespace: SKL3D
Base type: (None)
Include: Skl3D.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib

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.


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.


Field name Type Description
start Point Index of the line segment's start point.
end Point Index of the line segment's end point.


Method name Description
SwapPoints Swaps line segment's start and end points.


The class has no public operators.

See Also


SolidKit Library Documentation

Personal tools