Click or drag to resize

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.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public double ApproximateLength(
	int segments
)

Parameters

segments  Int32
The number of segments over which to approximate the length of the curve.

Return Value

Double
The approximate length of the curve.
See Also