|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IMatrix
igeo.IMatrix4
public class IMatrix4
Class of 4x4 numerical matrix.
Field Summary |
---|
Fields inherited from class igeo.IMatrix |
---|
columnNum, rowNum, val |
Constructor Summary | |
---|---|
IMatrix4()
|
|
IMatrix4(double v11,
double v12,
double v13,
double v14,
double v21,
double v22,
double v23,
double v24,
double v31,
double v32,
double v33,
double v34,
double v41,
double v42,
double v43,
double v44)
|
|
IMatrix4(IMatrix3 m,
IVec t)
|
|
IMatrix4(IMatrix4 m)
|
Method Summary | |
---|---|
static IMatrix4 |
convertCoordinates(IVec xvec1,
IVec yvec1,
IVec zvec1,
IVec orig1,
IVec xvec2,
IVec yvec2,
IVec zvec2,
IVec orig2)
|
IMatrix4 |
cp()
alias of dup() |
double |
determinant()
|
IMatrix4 |
dup()
|
IMatrix4 |
get()
|
static IMatrix4 |
getAlignmentOnPlane(IVec trianglePt1,
IVec trianglePt2,
IVec trianglePt3,
IVec planePt1,
IVec planePt2,
IVec planePt3)
|
IMatrix3 |
getMatrix3()
alias of matrix3() |
static IMatrix4 |
getRotation(IVec axis,
double angle)
|
static IMatrix4 |
getScale(double scale)
|
static IMatrix4 |
getTransform(IVec xvector,
IVec yvector,
IVec zvector,
IVec translate)
|
static IMatrix4 |
getTranslate(double x,
double y,
double z)
|
static IMatrix4 |
getTranslate(IVec p)
|
IVec |
getTranslateVector()
alias of translate() |
static IMatrix4 |
getXRotation(double angle)
|
static IMatrix4 |
getYRotation(double angle)
|
static IMatrix4 |
getZRotation(double angle)
|
IMatrix4 |
invert()
|
IMatrix3 |
matrix3()
get matrix without translation part |
IMatrix4 |
mul(IMatrix4 m)
m is applied from right side and update the content of this without creating new instance. |
IMatrix4 |
mul(IMatrix4I m)
|
IVec |
mul(IVec v)
vector is treated as vertical vector |
IVec4 |
mul(IVec4 v)
vector is treated as vertical vector |
IVec4 |
mul(IVec4I v)
vector is treated as vertical vector |
IVec |
mul(IVecI v)
vector is treated as vertical vector |
IMatrix4 |
set(double v11,
double v12,
double v13,
double v14,
double v21,
double v22,
double v23,
double v24,
double v31,
double v32,
double v33,
double v34,
double v41,
double v42,
double v43,
double v44)
|
IMatrix4 |
set(IDoubleI v11,
IDoubleI v12,
IDoubleI v13,
IDoubleI v14,
IDoubleI v21,
IDoubleI v22,
IDoubleI v23,
IDoubleI v24,
IDoubleI v31,
IDoubleI v32,
IDoubleI v33,
IDoubleI v34,
IDoubleI v41,
IDoubleI v42,
IDoubleI v43,
IDoubleI v44)
|
IVec |
transform(IVecI v)
applying transformation matrix to 3D vector |
IVec |
translate()
get only translate vector |
Methods inherited from class igeo.IMatrix |
---|
add, add, columnNum, columnNum, columnNum, det, determinant, determinant, div, div, get, get, get, mul, mul, mul, mul, rowNum, rowNum, rowNum, set, set, set, set, set, set, setId, setRange, setZero, sub, sub, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface igeo.IMatrixI |
---|
add, columnNum, columnNum, columnNum, determinant, determinant, div, div, get, get, get, mul, mul, mul, rowNum, rowNum, rowNum, set, set, set, set, set, setId, setZero, sub |
Constructor Detail |
---|
public IMatrix4()
public IMatrix4(double v11, double v12, double v13, double v14, double v21, double v22, double v23, double v24, double v31, double v32, double v33, double v34, double v41, double v42, double v43, double v44)
public IMatrix4(IMatrix4 m)
public IMatrix4(IMatrix3 m, IVec t)
Method Detail |
---|
public IMatrix4 get()
get
in interface IMatrix4I
get
in interface IMatrix4Op
get
in interface IMatrixOp
get
in interface IParameter
get
in class IMatrix
public IMatrix4 set(double v11, double v12, double v13, double v14, double v21, double v22, double v23, double v24, double v31, double v32, double v33, double v34, double v41, double v42, double v43, double v44)
set
in interface IMatrix4I
public IMatrix4 set(IDoubleI v11, IDoubleI v12, IDoubleI v13, IDoubleI v14, IDoubleI v21, IDoubleI v22, IDoubleI v23, IDoubleI v24, IDoubleI v31, IDoubleI v32, IDoubleI v33, IDoubleI v34, IDoubleI v41, IDoubleI v42, IDoubleI v43, IDoubleI v44)
set
in interface IMatrix4I
public IMatrix4 dup()
dup
in interface IMatrix4I
dup
in interface IMatrixI
dup
in class IMatrix
public IMatrix4 cp()
IMatrixI
cp
in interface IMatrix4I
cp
in interface IMatrixI
cp
in class IMatrix
public double determinant()
determinant
in interface IMatrixI
determinant
in class IMatrix
public IMatrix4 invert()
invert
in interface IMatrixI
invert
in class IMatrix
public IMatrix4 mul(IMatrix4 m)
public IMatrix4 mul(IMatrix4I m)
mul
in interface IMatrix4I
public IVec4 mul(IVec4I v)
mul
in interface IMatrix4I
public IVec4 mul(IVec4 v)
public IVec mul(IVecI v)
mul
in interface IMatrix4I
public IVec mul(IVec v)
public IVec transform(IVecI v)
transform
in interface IMatrix4I
public IMatrix3 matrix3()
matrix3
in interface IMatrix4I
public IMatrix3 getMatrix3()
public IVec translate()
translate
in interface IMatrix4I
public IVec getTranslateVector()
public static IMatrix4 getXRotation(double angle)
public static IMatrix4 getYRotation(double angle)
public static IMatrix4 getZRotation(double angle)
public static IMatrix4 getRotation(IVec axis, double angle)
public static IMatrix4 getScale(double scale)
public static IMatrix4 getTranslate(double x, double y, double z)
public static IMatrix4 getTranslate(IVec p)
public static IMatrix4 getTransform(IVec xvector, IVec yvector, IVec zvector, IVec translate)
public static IMatrix4 convertCoordinates(IVec xvec1, IVec yvec1, IVec zvec1, IVec orig1, IVec xvec2, IVec yvec2, IVec zvec2, IVec orig2)
public static IMatrix4 getAlignmentOnPlane(IVec trianglePt1, IVec trianglePt2, IVec trianglePt3, IVec planePt1, IVec planePt2, IVec planePt3)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |