: Public <<type>> Class
Created: 10-04-2008 12:16:13
Modified: 10-04-2008 12:16:13
Project:
Advanced:
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:<br /></p><p>(L : Distance) = endParam - startParam<br /></p><p>c(s) = ControlPoint[1]+((s-startParam)/L)*(ControlPoint[2]-ControlPoint[1])<br /></p><p><br /></p><p>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. <br /></p><p>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:<br /></p><p> <br /></p><p>c(t) = t c(1)  + (1-t) c(0)<br /></p>
Operation
Public
GM_LineSegment( point [2]: GM_Position,
):GM_LineSegment
Details:
Sequential
Tag Value
persistence persistent
Details:
 
Object Type Connection Direction Notes
«type» GM_LineString Class Generalization To