public interface IRotation3D
Modifier and Type | Field and Description |
---|---|
static int |
NCols
The number of rows and columns in the matrix.
|
static int |
NRows
The number of rows and columns in the matrix.
|
static int |
XCol
Numerical constants for the X and Y column indices.
|
static int |
XRow
Numerical constants for the X and Y column indices.
|
static int |
YCol
Numerical constants for the X and Y column indices.
|
static int |
YRow
Numerical constants for the X and Y column indices.
|
static int |
ZCol
Numerical constants for the X and Y column indices.
|
static int |
ZRow
Numerical constants for the X and Y column indices.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(IRotation3D rotation)
Compare this IRotation3D with another.
|
double |
getComponent(int row,
int col)
Get matrix component by row and column.
|
Hep3Matrix |
getRotationMatrix()
The rotation in standard rotation matrix form.
|
IRotation3D |
inverse()
Apply inverse transformation, returning
a new IRotation3D, not altering this matrix.
|
void |
invert()
Apply inverse transformation in place.
|
boolean |
isIdentity()
True if this IRotation3D is equivalent to the identity matrix.
|
void |
multiplyBy(IRotation3D rotation)
Multiply this rotation in place with another IRotation3D,
modifying this IRotation3D in place.
|
void |
printOut(PrintStream ps)
Print out rotation
|
void |
resetToIdentity()
Reset this IRotation3D to the identity matrix.
|
void |
rotate(Hep3Vector coordinates)
Rotate a Hep3Vector in place
|
void |
rotate(SymmetricMatrix matrix)
Rotate a SymmetricMatrix in place (e.g.
|
Hep3Vector |
rotated(Hep3Vector coordinates)
Rotate a Hep3Vector
|
SymmetricMatrix |
rotated(SymmetricMatrix matrix)
Rotate a SymmetricMatrix (e.g.
|
void |
setRotationMatrix(Hep3Matrix matrix)
Set the matrix from a Hep3Matrix interface.
|
static final int XCol
static final int YCol
static final int ZCol
static final int XRow
static final int YRow
static final int ZRow
static final int NRows
static final int NCols
Hep3Matrix getRotationMatrix()
void setRotationMatrix(Hep3Matrix matrix)
matrix
- void multiplyBy(IRotation3D rotation)
rotation
- void rotate(Hep3Vector coordinates)
coordinates
- Hep3Vector rotated(Hep3Vector coordinates)
coordinates
- void rotate(SymmetricMatrix matrix)
matrix
- SymmetricMatrix rotated(SymmetricMatrix matrix)
matrix
- boolean equals(IRotation3D rotation)
rotation
- void invert()
IRotation3D inverse()
double getComponent(int row, int col)
row
- col
- void resetToIdentity()
boolean isIdentity()
void printOut(PrintStream ps)
PrintStream
- for outputCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.