Returns the length along the curve between two locations on the curve. The length attribute of CurveMixin is computed by this function using the startPoint and endPoint attributes of the curve.
See Also: curvePointAtLength()
arcLengthCurve ( curve As Part, _
p1 As Point, _
p2 As Point ) As Number
| Argument | Type | Description |
|---|---|---|
| curve | part | The curve whose length is to be computed. Must be a kind of CurveMixin. |
| p1 | point | The point at which the measurement should start. |
| p2 | point | The point at which the measurement should end. |
Intent >arcLengthCurve(Arc_1, Arc_1.StartPoint, Arc_1.MidPoint) --> 15.708
The length of half the arc.
Intent >arcLengthCurve(splineCurve_1, splineCurve_1.StartPoint, splineCurve_1.endPoint) --> 9.018
This is the true length of splineCurve_1, and is the same value that the length attribute would return.