The Curve type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
AddControlPoint |
Adds a control point at the end of the curve
| |
CalculateContinous |
Calcualtes a plane continously for the given segment index
| |
CalculateUncontinous |
Calculates a plane on the position of the curve non-continously!
| |
DeleteControlPoint |
Deletes the given control point from the curve
| |
GetTangent |
Calculates the tangent for the given control point
| |
IndexOf |
The index of a certain control point
| |
InsertControlPoint |
Inserts a control point after the given control point and before the next control point (in the middle)
| |
RemapCurve |
Remaps the curve and saves the results, so it only needs to be remapped when something changes
IsDirty will be set to false
| |
ToGlobal |
Converts a plane from local to global
| |
ToLocal |
Converts a plnae from global to local
|
Fields
Name | Description | |
---|---|---|
ControlPointAdded |
An event that occurs when a new control point was added
| |
ControlPointChanged |
An event that occurs when an existing control point was changed
| |
ControlPointDeleted |
An event that occurs when an existing control point was deleted
| |
LengthChanged |
An event that occurs when the curve length changed
This also indicates a shape change
| |
TwirlChanged |
An event that occurs when the curve twirling changed (rotations)
This also indicates a shape change
|
Properties
Name | Description | |
---|---|---|
ControlPointCount |
The count of control points
| |
IsDirty |
True indicates, that the curve will be remapped before executing the next call to CalculateContinous(Int32, Single) | |
Item |
Returns the control point at the given index
| |
Length |
The length of the curve
| |
Spline |
The spline function that is used by this curve
| |
WrapAround |
True indicates that the start and the end of the curve should be connected
|
See Also