<<Type>> GM_LineSegment {Analysis} derived from: GM_LineString

Documentation
A GM_LineSegment consists of two distinct DirectPositions (the startPoint and endPoint) joined by a straight line. Thus its interpolation attribute shall be "linear". The default GM_GenericCurve::parameterization = c(s) is:
(L : Distance) = endParam - startParam
c(s) = ControlPoint[1]+((s-startParam)/L)*(ControlPoint[2]-ControlPoint[1])

Any other point in the controlPoint array must fall on this line. The control points of a GM_LineSegment shall all lie on the straight line between its start point and end point. Between these two points, other positions may be interpolated linearly.
NOTE The linear interpolation, given using a constructive parameter t, 0 £ t £ 1.0, where c(o) = c.startPoint() and c(1)=c.endPoint(), is:

c(t) = t c(1) + (1-t) c(0)


Parent PackageCoordinate geometryAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceYes  


Operations
NameSignatureClass
GM_LineSegmentGM_LineSegment GM_LineSegment (GM_Position point [2])GM_LineSegment
GM_LineStringGM_LineString GM_LineString (GM_Position points[2..*])GM_LineString
asGM_LineSegmentSequence<GM_LineSegment> asGM_LineSegment ()GM_LineString
samplePointGM_PointArray samplePoint ()GM_CurveSegment
boundaryGM_CurveBoundary boundary ()GM_CurveSegment
reverseGM_CurveSegment reverse ()GM_CurveSegment


Attributes
NameClassTypeInitial Value
controlPointGM_LineStringGM_PointArray 
interpolationGM_CurveSegmentGM_CurveInterpolation"linear"
numDerivativesAtStart[0..1]GM_CurveSegmentInteger0
numDerivativesAtEnd[0..1]GM_CurveSegmentInteger0
numDerivativeInterior[0..1]GM_CurveSegmentInteger0


Associations
NameMy RoleMy ClassOther RoleOther Element
SegmentationsegmentGM_CurveSegmentcurveGM_Curve
--Not Named--baseCurveGM_CurveSegment--Not Named--GM_OffsetCurve


Generalization Relationships
NameClassSupplier
--Not Named--GM_LineSegmentGM_LineString
--Not Named--GM_LineStringGM_CurveSegment


Realize Relationships
NameClassSupplier
--Not Named--GM_CurveSegmentGM_GenericCurve