Package com.agisoft.metashape
Class Transform
java.lang.Object
com.agisoft.metashape.Transform
Transformation between chunk and world coordinates systems.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransformation matrix.Rotation component, may be null.getScale()Scale component, may be null.Translation component, may be null.booleanvoidreset()voidTransformation matrix.voidsetRotation(Optional<Matrix> rotation) Rotation component, may be null.voidScale component, may be null.voidsetTranslation(Optional<Vector> translation) Translation component, may be null.transformPoint(Vector point) transformVector(Vector vector)
-
Constructor Details
-
Transform
public Transform()
-
-
Method Details
-
setRotation
Rotation component, may be null. -
getRotation
Rotation component, may be null. -
setTranslation
Translation component, may be null. -
getTranslation
Translation component, may be null. -
setScale
Scale component, may be null. -
getScale
Scale component, may be null. -
setMatrix
Transformation matrix. -
getMatrix
Transformation matrix. -
hasMatrix
public boolean hasMatrix() -
reset
public void reset() -
transformPoint
-
transformVector
-