SmApiScale#
Defined in SM_API/inc/SmApiGeneral.h
-
SmApiStatus SmApiScale(SmObject *pObj, const SmVector3d &rScale)#
Warning
A representation-changing Brep scale can replace and delete analytic Surfaces and Curves owned by the Brep. Discard cached pointers to Brep-owned geometry before this call and reacquire them from their surviving Face or Edge afterward. Positive uniform Brep scales preserve those geometry pointers.
- Parameters:
pObj – [in ]: Object to scale
rScale – [in ]: Scale factor in x, y, z