Table of Contents

Method GetTangentAtParameter

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetTangentAtParameter(double)

Gets the direction the spline runs in at a normalised parameter.

public GeoVector3 GetTangentAtParameter(double parameter)

Parameters

parameter double

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

Returns

GeoVector3

The unit vector, as GetTangentAtKnot(double) gives it.

Exceptions

ArgumentOutOfRangeException

Thrown when the parameter is not a finite number.

InvalidOperationException

Thrown when the spline stands still there: every derivative to the degree vanishes.