Drawing3d documented Class Library

Curve.Value Method

This abstract method must be overridden. It returns the function for a value t.

public xy Value(double t){
return new xy(cos(t), sin(t));
}
public xy Drivation(double t){
return new xy(-sin(t), cos(t));
}
This example implements an unit circle.

[Visual Basic]
Public Overridable Sub Value( _
   ByVal t As Double _
)
[C#]
public virtual xy Value(
   double t
);

Parameters

t
parameter for the function Value

Return Value

Value of the curvedefining function

See Also

Curve Class | Drawing3d.Curves Namespace | Derivation