Package com.agisoft.metashape
Class Transform
java.lang.Object
com.agisoft.metashape.Transform
public class Transform extends Object
Transformation between chunk and world coordinates systems.
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()static longgetCPtr(Transform obj)Matrix4x4dgetMatrix()Transformation matrix.Matrix3x3dgetRotation()Rotation component or null.DoublegetScale()Scale component or null.Vector3dgetTranslation()Translation component or null.booleanhasMatrix()voidreset()voidsetMatrix(Matrix4x4d matrix)Transformation matrix.voidsetRotation(Matrix3x3d rotation)Rotation component or null.voidsetScale(Double scale)Scale component or null.voidsetTranslation(Vector3d translation)Translation component or null.Vector3dtransformPoint(Vector3d point)Vector3dtransformVector(Vector3d vector)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Transform
public Transform(long cPtr, boolean cMemoryOwn) -
Transform
public Transform() -
Transform
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setRotation
Rotation component or null. -
getRotation
Rotation component or null. -
setTranslation
Translation component or null. -
getTranslation
Translation component or null. -
setScale
Scale component or null. -
getScale
Scale component or null. -
setMatrix
Transformation matrix. -
getMatrix
Transformation matrix. -
hasMatrix
public boolean hasMatrix() -
reset
public void reset() -
transformPoint
-
transformVector
-