BezierCurve2DApproximateLength(Int32) Method |
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.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic double ApproximateLength(
int segments
)
Parameters
- segments Int32
- The number of segments over which to approximate the length of the curve.
Return Value
DoubleThe approximate length of the curve.
See Also