Functions | |
nativeCode Dpoint3d * | mdlCons_getPoint (Dpoint3d *pPoint, Cons *pThis) |
mdlCons_getPoint returns the (x,y) coordinates of the object's location in the current coordinate system. More... | |
nativeCode RotMatrixP | mdlCons_getRMatrix (RotMatrixP pRot, Cons *pThis) |
mdlCons_getRMatrix returns a rotation matrix describing object's current geometry. More... | |
nativeCode int | mdlCons_isOperational (Cons *pThis) |
mdlCons_isOperational determines if the specified Cons object is fully defined and has been activated. More... | |
nativeCode void | mdlCons_destroy (Cons *pThis) |
mdlCons_destroy frees any dynamic memory allocated for the Cons object. More... | |
nativeCode void mdlCons_destroy | ( | Cons * | pThis | ) |
mdlCons_destroy frees any dynamic memory allocated for the Cons object.
The Cons object pointer itself is not freed.
[in,out] | pThis | is the Cons object to be cleaned up. It is not usable after being destroyed. |
nativeCode Dpoint3d* mdlCons_getPoint | ( | Dpoint3d * | pPoint, |
Cons * | pThis | ||
) |
mdlCons_getPoint returns the (x,y) coordinates of the object's location in the
current coordinate system.
[out] | pPoint | is the returned (x,y,0) location of object in the current coordinate system. |
[in] | pThis | is the object to query. |
nativeCode RotMatrixP mdlCons_getRMatrix | ( | RotMatrixP | pRot, |
Cons * | pThis | ||
) |
mdlCons_getRMatrix returns a rotation matrix describing object's current geometry.
[out] | pRot | is the output rotation matrix. |
[in] | pThis | is the object to query. |
nativeCode int mdlCons_isOperational | ( | Cons * | pThis | ) |
mdlCons_isOperational determines if the specified Cons object is fully defined and
has been activated.
For example, an equation constraint which has not been activated, say, due to parsing errors, will not be operational. A NULL pointer is considered not operational. This function is also useful when re-creating Cons objects from data stored in an external format, to test that all references were successfully resolved.
[out] | pThis | is the object to test. |