|
C_GetNodePreBendGeometry |
C_GetNodePreBendGeometry returns an array containing the node positions and orientations of the line, assumping that it adopts its unstressed position as determined by the pre-bend data.
void C_GetNodePreBendGeometry(
TOrcFxAPIHandle ObjectHandle,
TNodePreBendGeometry *lpNodePreBendGeometry,
int *lpNodeCount,
int *lpStatus
);
The handle of an OrcaFlex line.
Points to an array of length at least N, where N is the number of nodes in the line. The array is populated with TNodePreBendGeometry describing the geometry of each node. A value of NULL can be passed.
Points to an integer in which the number of nodes in the line is returned. A value of NULL can be passed.
Points to a variable in which the status result for the function call will be returned.
This function typically needs to be called twice. The first time, pass NULL to lpNodePreBendGeometry and read the node count from the lpNodeCount parameter. Then allocate an array large enough to hold the node pre-bend geometry, and pass the address of that array in the second call to the function.