isRigid
Determine if transformation is rigid transformation
Syntax
Description
Examples
Check If 2-D Transformation Is Rigid
Create an affine2d
object that defines a pure
translation.
A = [ 1 0 0 0 1 0 40 40 1 ]; tform = affine2d(A)
tform = affine2d with properties: T: [3x3 double] Dimensionality: 2
Test if it is a rigid transformation.
tf = isRigid(tform)
tf = 1
Check If 3-D Transformation Is Rigid
Create an affine3d
object that defines a different
scale factor in each dimension.
Sx = 1.2; Sy = 1.6; Sz = 2.4; tform = affine3d([Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1])
tform = affine3d with properties: T: [4x4 double] Dimensionality: 3
Check if the transformation is rigid.
TF = isRigid(tform)
TF = 0
Input Arguments
Output Arguments
TF
— Flag indicating rigid transformation
scalar
Flag indicating rigid transformation, returned as a logical scalar.
TF
is True
when
tform
is a rigid transformation.
Data Types: logical
More About
Rigid Transformation
A rigid transformation includes only rotation and translation. It does not include reflection, and it does not modify the size or shape of an input object.
Version History
See Also
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)