LineSegment class

From Solid Graphics Wiki

Revision as of 03:15, 30 April 2008 by Rgrof (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
LineSegment class
Namespace: SKL3D
Base type: (None)
Include: Skl3D.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib

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

Personal tools