CURVE

Evaluates a Reference_ParamCurve element at a specified location.

Format

CURVE(alpha, iord, comp, id)

Arguments

alpha
The independent parameter at which evaluation is desired. In case of curves defined using a user-defined-subroutine, alpha must lie between u_start and u_end, specified in the Reference_ParamCurve definition.
iord
Determines the order of the derivative returned as follows:
0
Curve coordinate.
1
First derivative.
2
Second derivative.
comp
Determines the component returned as follows:
1
X coordinate or derivative.
2
Y coordinate or derivative.
3
Z coordinate or derivative.
id
The identifier of the Reference_ParamCurve element.

Example

<Force_Vector_OneBody
     id              = "10801"
     type            = "ForceOnly"
     marker_id       = "10803023"
     body_id         = "10403"
     ref_marker_id   = "10803021"
     ref_body_id     = "10403"
     fx_expression   = "CURVE(2*time+10,0,1,101)"
     fy_expression   = "CURVE(2*time+10,0,2,101)"
     fz_expression   = "CURVE(2*time+10,0,3,101)"
     reverse_dir     = "FALSE">
</Force_Vector_OneBody>