SRM Reference Manual
Functions SRM CrossProduct |
---|
extern SRM_Status_Code | |||
SRM_CrossProduct | |||
( | |||
const | SRM_Vector_3D | a_ptr, | 1 |
const | SRM_Vector_3D | b_ptr, | 2 |
SRM_Vector_3D | result_out_ptr | 3 | |
); |
Computes the cross product of two vectors.
SRM_STATCOD_SUCCESS | and *result_out_ptr is set to the appropriate result, if valid parameters were passed in. |
SRM_STATCOD_INACTIONABLE | and no changes are made, if a_ptr or b_ptr is NULL. |
SRM_STATCOD_INACTIONABLE | and *result_out_ptr is left unchanged, if result_out_ptr is NULL. |
1 1st vector operand
2 2nd vector operand
3 a SRM_Vector_3D variable in the user's memory space where the result will be stored.
Next: SRM_DeriveCoordinate2DFrom3D.
Up:Index.
|