BezierCurve2DApproximateLength Method (Int32) |
Approximates the length of the bezier curve by subdividing the curve into the specified
number of linear segments and summing the Euclidean distances.
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic double ApproximateLength(
int segments
)
Parameters
- segments
- Type: SystemInt32
The number of segments over which to approximate the length of the curve.
Return Value
Type:
DoubleThe approximate length of the curve.
See Also