Interface ICurve
Represents a common interface for evaluable 2D curves.
public interface ICurve
Properties
this[NFloat]
Provides indexer access as an alias for Lerp(NFloat).
Point this[NFloat t] { get; }
Parameters
t
NFloat
Property Value
Methods
Length()
Computes an approximate arc length using 16 steps.
NFloat Length()
Returns
Length(NFloat)
Computes a refined approximation of arc length with a specified precision.
NFloat Length(NFloat precision)
Parameters
precision
NFloat
Returns
Lerp(NFloat)
Evaluates the curve at the given normalized parameter t in [0, 1].
Point Lerp(NFloat t)
Parameters
t
NFloat
Returns
Tangent(NFloat)
Computes the tangent vector at the specified t.
Vector Tangent(NFloat t)
Parameters
t
NFloat