Table of Contents

Method GetDistanceAtParameter

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetDistanceAtParameter(double)

Gets the length along the spline from its start to a normalised parameter.

public double GetDistanceAtParameter(double parameter)

Parameters

parameter double

The share of the domain, from 0 to 1; one outside is taken as the nearer end.

Returns

double

The length: nought at 0 and Length at 1, to a relative 1E-12.

Exceptions

ArgumentOutOfRangeException

Thrown when the parameter is not a finite number.