Share

pushModelTransform Method

Overload List

Method Description
AcGiGeometry::pushModelTransform (AcGeMatrix3d &) This function pushes a new transform onto the transform stack. The transform is the result of multiplying xMat by the existing transform. This allows you to easily handle an entity coordinate system. When you have finished with the transform, you must call popModelTransform() to leave the pipe in the same state as before.You should maintain a stack of matrices; the stack template can be used for this purpose. The matrix stack should be pushed, and the result of multiplying the previous top matrix with xMat should be placed at the top of the stack to be returned by modelTransform()... more
AcGiGeometry::pushModelTransform (AcGeVector3d &) This function pushes a new transform onto the transform stack. It generates the input matrix using the arbitrary axis algorithm and the supplied vector.When you have finished with the transform, you must call popModelTransform() to leave the pipe in the same state as before.Returns Adesk::kTrue if successful; otherwise, returns Adesk::kFalse.

Was this information helpful?