Share

AcGeScale3d::removeScale

C++

GE_DLLEXPIMPORT AcGeScale3d& removeScale(
    AcGeMatrix3d& mat
);

Description

Contract: Matrix mat must satisfy the condition mat.isScaledOrtho() == Adesk::kTrue.

For each index i is less than 3, this function sets the i-th scale factor of this scale vector to the length of the i-th column of the matrix mat considered as vector. If det(mat) is not positive, then sx is negated. Then for each index i that is less than 3, the i-th column is divided by i-th scale factor.

Returns the reference to this scale vector.

Parameters

Parameters Description
mat Input matrix

Links

AcGeScale3d

Was this information helpful?