MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.SymMatrix3f:

Public Member Functions

 SymMatrix3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SymMatrix3f ()
 SymMatrix3f (meshlib.SymMatrix3f _other)
meshlib.SymMatrix3f assignFromAnother (meshlib.SymMatrix3f _other)
float trace ()
float normSq ()
float det ()
meshlib.SymMatrix3f inverse ()
meshlib.SymMatrix3f inverse (float det)
meshlib.SymMatrix3f add_assign (meshlib.SymMatrix3f b)
meshlib.SymMatrix3f sub_assign (meshlib.SymMatrix3f b)
meshlib.SymMatrix3f mul_assign (float b)
meshlib.SymMatrix3f div_assign (float b)
meshlib.Vector3f eigens (meshlib.Matrix3f eigenvectors)
meshlib.Vector3f eigenvector (float eigenvalue)
meshlib.SymMatrix3f pseudoinverse (java.lang.Float tol, meshlib.int_output rank, meshlib.Vector3f space)
float xx ()
void setXx (float value)
float xy ()
void setXy (float value)
float xz ()
void setXz (float value)
float yy ()
void setYy (float value)
float yz ()
void setYz (float value)
float zz ()
void setZz (float value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.SymMatrix3f identity ()
static meshlib.SymMatrix3f diagonal (float diagVal)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

symmetric 3x3 matrix Generated from class MR::SymMatrix3f.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ SymMatrix3f() [1/3]

meshlib.SymMatrix3f.SymMatrix3f ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ SymMatrix3f() [2/3]

meshlib.SymMatrix3f.SymMatrix3f ( )

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix3f_DefaultConstruct().

◆ SymMatrix3f() [3/3]

meshlib.SymMatrix3f.SymMatrix3f ( meshlib.SymMatrix3f _other)

Generated from constructor MR::SymMatrix3f::SymMatrix3f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_SymMatrix3f_ConstructFromAnother().

Member Function Documentation

◆ add_assign()

meshlib.SymMatrix3f meshlib.SymMatrix3f.add_assign ( meshlib.SymMatrix3f b)

Generated from method MR::SymMatrix3f::operator+=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3f_add_assign().

◆ assignFromAnother()

meshlib.SymMatrix3f meshlib.SymMatrix3f.assignFromAnother ( meshlib.SymMatrix3f _other)

Generated from method MR::SymMatrix3f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_SymMatrix3f_AssignFromAnother().

◆ det()

float meshlib.SymMatrix3f.det ( )

computes determinant of the matrix Generated from method MR::SymMatrix3f::det.

Calls MR_SymMatrix3f_det().

◆ diagonal()

meshlib.SymMatrix3f meshlib.SymMatrix3f.diagonal ( float diagVal)
static

Generated from method MR::SymMatrix3f::diagonal.

Calls MR_SymMatrix3f_diagonal().

◆ div_assign()

meshlib.SymMatrix3f meshlib.SymMatrix3f.div_assign ( float b)

Generated from method MR::SymMatrix3f::operator/=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3f_div_assign().

◆ eigens()

meshlib.Vector3f meshlib.SymMatrix3f.eigens ( meshlib.Matrix3f eigenvectors)

returns eigenvalues of the matrix in ascending order (diagonal matrix L), and optionally returns corresponding unit eigenvectors in the rows of orthogonal matrix V, M*V^T = V^T*L; M = V^T*L*V Generated from method MR::SymMatrix3f::eigens.

Calls MR_SymMatrix3f_eigens().

◆ eigenvector()

meshlib.Vector3f meshlib.SymMatrix3f.eigenvector ( float eigenvalue)

computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix3f::eigenvector.

Calls MR_SymMatrix3f_eigenvector().

◆ identity()

meshlib.SymMatrix3f meshlib.SymMatrix3f.identity ( )
static

Generated from method MR::SymMatrix3f::identity.

Calls MR_SymMatrix3f_identity().

◆ inverse() [1/2]

meshlib.SymMatrix3f meshlib.SymMatrix3f.inverse ( )

computes inverse matrix Generated from method MR::SymMatrix3f::inverse.

Calls MR_SymMatrix3f_inverse_0().

◆ inverse() [2/2]

meshlib.SymMatrix3f meshlib.SymMatrix3f.inverse ( float det)

computes inverse matrix given determinant of this Generated from method MR::SymMatrix3f::inverse.

Calls MR_SymMatrix3f_inverse_1().

◆ mul_assign()

meshlib.SymMatrix3f meshlib.SymMatrix3f.mul_assign ( float b)

Generated from method MR::SymMatrix3f::operator*=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3f_mul_assign().

◆ normSq()

float meshlib.SymMatrix3f.normSq ( )

computes the squared norm of the matrix, which is equal to the sum of 9 squared elements Generated from method MR::SymMatrix3f::normSq.

Calls MR_SymMatrix3f_normSq().

◆ pseudoinverse()

meshlib.SymMatrix3f meshlib.SymMatrix3f.pseudoinverse ( java.lang.Float tol,
meshlib.int_output rank,
meshlib.Vector3f space )

for not-degenerate matrix returns just inverse matrix, otherwise returns degenerate matrix, which performs inversion on not-kernel subspace;

Parameters
tolrelative epsilon-tolerance for too small number detection
rankoptional output for this matrix rank according to given tolerance
spacerank=1: unit direction of solution line, rank=2: unit normal to solution plane, rank=3: zero vector Generated from method MR::SymMatrix3f::pseudoinverse.

Calls MR_SymMatrix3f_pseudoinverse().

◆ setXx()

void meshlib.SymMatrix3f.setXx ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xx.

Calls MR_SymMatrix3f_Set_xx().

◆ setXy()

void meshlib.SymMatrix3f.setXy ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xy.

Calls MR_SymMatrix3f_Set_xy().

◆ setXz()

void meshlib.SymMatrix3f.setXz ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xz.

Calls MR_SymMatrix3f_Set_xz().

◆ setYy()

void meshlib.SymMatrix3f.setYy ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named yy.

Calls MR_SymMatrix3f_Set_yy().

◆ setYz()

void meshlib.SymMatrix3f.setYz ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named yz.

Calls MR_SymMatrix3f_Set_yz().

◆ setZz()

void meshlib.SymMatrix3f.setZz ( float value)

zero matrix by default Modifies a member variable of class MR::SymMatrix3f named zz.

Calls MR_SymMatrix3f_Set_zz().

◆ sub_assign()

meshlib.SymMatrix3f meshlib.SymMatrix3f.sub_assign ( meshlib.SymMatrix3f b)

Generated from method MR::SymMatrix3f::operator-=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3f_sub_assign().

◆ trace()

float meshlib.SymMatrix3f.trace ( )

computes trace of the matrix Generated from method MR::SymMatrix3f::trace.

Calls MR_SymMatrix3f_trace().

◆ xx()

float meshlib.SymMatrix3f.xx ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xx. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_xx().

◆ xy()

float meshlib.SymMatrix3f.xy ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xy. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_xy().

◆ xz()

float meshlib.SymMatrix3f.xz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_xz().

◆ yy()

float meshlib.SymMatrix3f.yy ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named yy. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_yy().

◆ yz()

float meshlib.SymMatrix3f.yz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named yz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_yz().

◆ zz()

float meshlib.SymMatrix3f.zz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named zz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3f_Get_zz().


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