CardinalSplineToBezierSegmentConverterFindDistanceFromStart Method |
Finds the parametric distance along a poly-Bezier composed path from the start until a given Euclidean distance is reached.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double FindDistanceFromStart(
PointD2D[] points,
double distanceFromStart
)
Parameters
- points PointD2D
- Array of Bezier control points following the 1 + 3k convention (curve points and controls).
- distanceFromStart Double
- Target Euclidean distance from the first point.
Return Value
Double
The parametric distance value if determinable; otherwise
NaN.
See Also