Property | Type | Description | |
---|---|---|---|
Parallel | float |
Method | Description | |
---|---|---|
BezierCurve ( ) : System |
Constructs a new BezierCurve.
|
|
BezierCurve ( IEnumerable |
Constructs a new BezierCurve.
|
|
BezierCurve ( float parallel ) : System |
Constructs a new BezierCurve.
|
|
BezierCurve ( float parallel, IEnumerable |
Constructs a new BezierCurve.
|
|
CalculateLength ( IList |
Calculates the length of the specified bezier curve.
|
|
CalculateLength ( IList |
Calculates the length of the specified bezier curve. The precision gets better as the precision value gets smaller. The parallel parameter defines whether the curve should be calculated as a parallel curve to the original bezier curve. A value of 0.0f represents the original curve, 5.0f represents a curve that has always a distance of 5.0f to the orignal curve. |
|
CalculateLength ( float precision ) : float |
Calculates the length of this bezier curve. The precision gets better as the precision value gets smaller. |
|
CalculatePoint ( IList |
Calculates the point on the given bezier curve with the specified t parameter.
|
|
CalculatePoint ( IList |
Calculates the point on the given bezier curve with the specified t parameter. The parallel parameter defines whether the curve should be calculated as a parallel curve to the original bezier curve. A value of 0.0f represents the original curve, 5.0f represents a curve that has always a distance of 5.0f to the orignal curve. |
|
CalculatePoint ( float t ) : System.Vector2 |
Calculates the point with the specified t.
|
Method | Description | |
---|---|---|
CalculatePointOfDerivative ( IList |
Calculates the point with the specified t of the derivative of the given bezier function.
|
public BezierCurve ( IEnumerable |
||
points | IEnumerable |
The points. |
return | System |
public BezierCurve ( float parallel ) : System | ||
parallel | float | The parallel value. |
return | System |
public BezierCurve ( float parallel, IEnumerable |
||
parallel | float | The parallel value. |
points | IEnumerable |
The points. |
return | System |
public static CalculateLength ( IList |
||
points | IList |
The points. |
precision | float | The precision value. |
return | float |
public static CalculateLength ( IList |
||
points | IList |
The points. |
precision | float | The precision value. |
parallel | float | The parallel value. |
return | float |
public CalculateLength ( float precision ) : float | ||
precision | float | The precision. |
return | float |
public static CalculatePoint ( IList |
||
points | IList |
The points. |
t | float | The t parameter, a value between 0.0f and 1.0f. |
return | System.Vector2 |
public static CalculatePoint ( IList |
||
points | IList |
The points. |
t | float | The t parameter, a value between 0.0f and 1.0f. |
parallel | float | The parallel value. |
return | System.Vector2 |
public CalculatePoint ( float t ) : System.Vector2 | ||
t | float | The t value, between 0.0f and 1.0f. |
return | System.Vector2 |