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

Public Member Functions

 SymMatrix2i (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SymMatrix2i ()
 SymMatrix2i (meshlib.SymMatrix2i _other)
meshlib.SymMatrix2i assignFromAnother (meshlib.SymMatrix2i _other)
int trace ()
int normSq ()
int det ()
meshlib.SymMatrix2i inverse ()
meshlib.SymMatrix2i inverse (int det)
meshlib.SymMatrix2i add_assign (meshlib.SymMatrix2i b)
meshlib.SymMatrix2i sub_assign (meshlib.SymMatrix2i b)
meshlib.SymMatrix2i mul_assign (int b)
meshlib.SymMatrix2i div_assign (int b)
int xx ()
void setXx (int value)
int xy ()
void setXy (int value)
int yy ()
void setYy (int 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.SymMatrix2i identity ()
static meshlib.SymMatrix2i diagonal (int 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 2x2 matrix Generated from class MR::SymMatrix2i.

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

Constructor & Destructor Documentation

◆ SymMatrix2i() [1/3]

meshlib.SymMatrix2i.SymMatrix2i ( 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.

◆ SymMatrix2i() [2/3]

meshlib.SymMatrix2i.SymMatrix2i ( )

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix2i_DefaultConstruct().

◆ SymMatrix2i() [3/3]

meshlib.SymMatrix2i.SymMatrix2i ( meshlib.SymMatrix2i _other)

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

Calls MR_SymMatrix2i_ConstructFromAnother().

Member Function Documentation

◆ add_assign()

meshlib.SymMatrix2i meshlib.SymMatrix2i.add_assign ( meshlib.SymMatrix2i b)

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

Calls MR_SymMatrix2i_add_assign().

◆ assignFromAnother()

meshlib.SymMatrix2i meshlib.SymMatrix2i.assignFromAnother ( meshlib.SymMatrix2i _other)

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

Calls MR_SymMatrix2i_AssignFromAnother().

◆ det()

int meshlib.SymMatrix2i.det ( )

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

Calls MR_SymMatrix2i_det().

◆ diagonal()

meshlib.SymMatrix2i meshlib.SymMatrix2i.diagonal ( int diagVal)
static

Generated from method MR::SymMatrix2i::diagonal.

Calls MR_SymMatrix2i_diagonal().

◆ div_assign()

meshlib.SymMatrix2i meshlib.SymMatrix2i.div_assign ( int b)

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

Calls MR_SymMatrix2i_div_assign().

◆ identity()

meshlib.SymMatrix2i meshlib.SymMatrix2i.identity ( )
static

Generated from method MR::SymMatrix2i::identity.

Calls MR_SymMatrix2i_identity().

◆ inverse() [1/2]

meshlib.SymMatrix2i meshlib.SymMatrix2i.inverse ( )

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

Calls MR_SymMatrix2i_inverse_0().

◆ inverse() [2/2]

meshlib.SymMatrix2i meshlib.SymMatrix2i.inverse ( int det)

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

Calls MR_SymMatrix2i_inverse_1().

◆ mul_assign()

meshlib.SymMatrix2i meshlib.SymMatrix2i.mul_assign ( int b)

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

Calls MR_SymMatrix2i_mul_assign().

◆ normSq()

int meshlib.SymMatrix2i.normSq ( )

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

Calls MR_SymMatrix2i_normSq().

◆ setXx()

void meshlib.SymMatrix2i.setXx ( int value)

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

Calls MR_SymMatrix2i_Set_xx().

◆ setXy()

void meshlib.SymMatrix2i.setXy ( int value)

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

Calls MR_SymMatrix2i_Set_xy().

◆ setYy()

void meshlib.SymMatrix2i.setYy ( int value)

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

Calls MR_SymMatrix2i_Set_yy().

◆ sub_assign()

meshlib.SymMatrix2i meshlib.SymMatrix2i.sub_assign ( meshlib.SymMatrix2i b)

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

Calls MR_SymMatrix2i_sub_assign().

◆ trace()

int meshlib.SymMatrix2i.trace ( )

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

Calls MR_SymMatrix2i_trace().

◆ xx()

int meshlib.SymMatrix2i.xx ( )

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

Calls MR_SymMatrix2i_Get_xx().

◆ xy()

int meshlib.SymMatrix2i.xy ( )

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

Calls MR_SymMatrix2i_Get_xy().

◆ yy()

int meshlib.SymMatrix2i.yy ( )

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

Calls MR_SymMatrix2i_Get_yy().


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