BowlerKernel
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
eu.mihosoft.vrl.v3d.Matrix3d Class Reference
Collaboration diagram for eu.mihosoft.vrl.v3d.Matrix3d:
Collaboration graph
[legend]

Public Member Functions

 Matrix3d (double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)
 
String toString ()
 
boolean equals (Object obj)
 
Matrix3d times (double a)
 
Vector3d times (Vector3d a)
 

Public Attributes

double m11
 
double m21
 
double m31
 

Static Public Attributes

static final Matrix3d ZERO = new Matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0)
 
static final Matrix3d UNITY = new Matrix3d(1, 0, 0, 0, 1, 0, 0, 0, 1)
 

Detailed Description

3D Matrix3d.

Author
cpoliwoda

Definition at line 14 of file Matrix3d.java.

Constructor & Destructor Documentation

◆ Matrix3d()

eu.mihosoft.vrl.v3d.Matrix3d.Matrix3d ( double  m11,
double  m12,
double  m13,
double  m21,
double  m22,
double  m23,
double  m31,
double  m32,
double  m33 
)

Instantiates a new matrix3d.

Parameters
m11the m11
m12the m12
m13the m13
m21the m21
m22the m22
m23the m23
m31the m31
m32the m32
m33the m33

Definition at line 44 of file Matrix3d.java.

References eu.mihosoft.vrl.v3d.Matrix3d.m11, eu.mihosoft.vrl.v3d.Matrix3d.m21, and eu.mihosoft.vrl.v3d.Matrix3d.m31.

Referenced by eu.mihosoft.vrl.v3d.Matrix3d.equals(), and eu.mihosoft.vrl.v3d.Matrix3d.times().

Member Function Documentation

◆ equals()

boolean eu.mihosoft.vrl.v3d.Matrix3d.equals ( Object  obj)

◆ times() [1/2]

Matrix3d eu.mihosoft.vrl.v3d.Matrix3d.times ( double  a)

Returns the product of this matrix and the specified value.

Parameters
athe value

Note: this matrix is not modified.

Returns
the product of this matrix and the specified value

Definition at line 119 of file Matrix3d.java.

References eu.mihosoft.vrl.v3d.Matrix3d.m11, eu.mihosoft.vrl.v3d.Matrix3d.m21, eu.mihosoft.vrl.v3d.Matrix3d.m31, and eu.mihosoft.vrl.v3d.Matrix3d.Matrix3d().

Here is the call graph for this function:

◆ times() [2/2]

Vector3d eu.mihosoft.vrl.v3d.Matrix3d.times ( Vector3d  a)

Returns the product of this matrix and the specified vector.

Parameters
athe vector

Note: the vector is not modified.

Returns
the product of this matrix and the specified vector

Definition at line 135 of file Matrix3d.java.

References eu.mihosoft.vrl.v3d.Matrix3d.m11, eu.mihosoft.vrl.v3d.Matrix3d.m21, eu.mihosoft.vrl.v3d.Matrix3d.m31, eu.mihosoft.vrl.v3d.Vector3d.x(), eu.mihosoft.vrl.v3d.Vector3d.y(), and eu.mihosoft.vrl.v3d.Vector3d.z().

Here is the call graph for this function:

◆ toString()

String eu.mihosoft.vrl.v3d.Matrix3d.toString ( )

Member Data Documentation

◆ m11

double eu.mihosoft.vrl.v3d.Matrix3d.m11

◆ m21

double eu.mihosoft.vrl.v3d.Matrix3d.m21

◆ m31

double eu.mihosoft.vrl.v3d.Matrix3d.m31

◆ UNITY

final Matrix3d eu.mihosoft.vrl.v3d.Matrix3d.UNITY = new Matrix3d(1, 0, 0, 0, 1, 0, 0, 0, 1)
static

The Constant UNITY.

Definition at line 29 of file Matrix3d.java.

◆ ZERO

final Matrix3d eu.mihosoft.vrl.v3d.Matrix3d.ZERO = new Matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0)
static

The Constant ZERO.

Definition at line 26 of file Matrix3d.java.


The documentation for this class was generated from the following file: