HC_Compute_Transform_By_Path

bool HC_Compute_Transform_By_Path(int count, Key const keys[], char const *in_system, char const *out_system, float matrix[])
bool HC_Compute_Transform_By_Path(int count, Key const keys, char const in_system, char const out_system, float matrix)

Similar to Compute_Transform(), but concatenates the matrices along a segment path rather than the currently open segment.

HC_Compute_Transform()

Parameters

count: The size of the keys array

keys: The array of keys starting with the owning segment and following all the way back to the root segment or other desired segment.

in_system: Special constants for the input and output coordinate spaces.

out_system: Special constants for the input and output coordinate spaces.

  • The transformation matrix necessary to take points from in_system to out_system. Passed by reference in all languages. May need to be transposed in languages other than C (unless immediately passed back into HOOPS.) Returned to user.

matrix:

Returns

success