Package one.empty3.library
Class Rotation
- java.lang.Object
-
- one.empty3.library.Rotation
-
- All Implemented Interfaces:
MatrixPropertiesObject
public class Rotation extends java.lang.Object implements MatrixPropertiesObject
-
-
Field Summary
Fields Modifier and Type Field Description protected StructureMatrix<Point3D>
centreRot
protected StructureMatrix<Matrix33>
rot
protected boolean
unmodified
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixPropertiesObject
copy()
java.util.HashMap<java.lang.String,StructureMatrix>
declarations()
void
declareProperties()
StructureMatrix<Point3D>
getCentreRot()
StructureMatrix
getDeclaredProperty(java.lang.String name)
StructureMatrix<Matrix33>
getRot()
boolean
isUnmodified()
Point3D
rotation(Point3D p)
Point3D
rotationAxe(Point3D p, int axe, double angle)
void
setCentreRot(StructureMatrix<Point3D> centreRot)
void
setRot(StructureMatrix<Matrix33> rot)
void
setUnmodified(boolean unmodified)
-
-
-
Field Detail
-
rot
protected StructureMatrix<Matrix33> rot
-
centreRot
protected StructureMatrix<Point3D> centreRot
-
unmodified
protected boolean unmodified
-
-
Method Detail
-
isUnmodified
public boolean isUnmodified()
-
setUnmodified
public void setUnmodified(boolean unmodified)
-
getRot
public StructureMatrix<Matrix33> getRot()
-
setRot
public void setRot(StructureMatrix<Matrix33> rot)
-
getCentreRot
public StructureMatrix<Point3D> getCentreRot()
-
setCentreRot
public void setCentreRot(StructureMatrix<Point3D> centreRot)
-
getDeclaredProperty
public StructureMatrix getDeclaredProperty(java.lang.String name)
- Specified by:
getDeclaredProperty
in interfaceMatrixPropertiesObject
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
-
declarations
public java.util.HashMap<java.lang.String,StructureMatrix> declarations()
- Specified by:
declarations
in interfaceMatrixPropertiesObject
-
copy
public MatrixPropertiesObject copy() throws CopyRepresentableError, java.lang.IllegalAccessException, java.lang.InstantiationException
- Specified by:
copy
in interfaceMatrixPropertiesObject
- Throws:
CopyRepresentableError
java.lang.IllegalAccessException
java.lang.InstantiationException
-
-