Table of Contents

Method GetPointAtParameter

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetPointAtParameter(double)

Gets the point of the spline at a normalised parameter, where 0 is its start and 1 its end.

public GeoPoint2 GetPointAtParameter(double parameter)

Parameters

parameter double

The share of the domain, from 0 to 1; one outside is taken as the nearer end. It is a share of the domain in the knots, not of the length: GetPointAtDistance(double) goes by length.

Returns

GeoPoint2

The point, as GetPointAtKnot(double) gives it at the knot value that share of the domain comes to.

Exceptions

ArgumentOutOfRangeException

Thrown when the parameter is not a finite number.