Table of Contents

Method GetPointAtKnot

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetPointAtKnot(double)

Gets the point of the spline at a value of its knots.

public GeoPoint3 GetPointAtKnot(double knot)

Parameters

knot double

A value of the domain, from DomainStart to DomainEnd; one outside is taken as the nearer end.

Returns

GeoPoint3

The point, by de Boor's scheme in homogeneous coordinates: a weighted mean of the control points of the span, exact to rounding.

Exceptions

ArgumentOutOfRangeException

Thrown when the knot value is not a finite number.