FUNCTION REFERENCE

isRigid

True if a 2-D affine transformation only rotates and translates.

True if a 2-D affine transformation only rotates and translates.

Syntax

tf = isRigid(tform)

For affine2d and affinetform2d: the 2-by-2 part must be orthonormal with determinant +1 (no reflection, no scaling), within 1e-10.

Example

isRigid(affinetform2d([0 -1 5; 1 0 2; 0 0 1]))   % true

Differences from MATLAB: the 1e-10 tolerance is MatRust's choice.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.