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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ SymMatrix2b() [1/3]

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

◆ SymMatrix2b() [2/3]

meshlib.SymMatrix2b.SymMatrix2b ( )

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix2b_DefaultConstruct().

◆ SymMatrix2b() [3/3]

meshlib.SymMatrix2b.SymMatrix2b ( meshlib.SymMatrix2b _other)

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

Calls MR_SymMatrix2b_ConstructFromAnother().

Member Function Documentation

◆ add_assign()

meshlib.SymMatrix2b meshlib.SymMatrix2b.add_assign ( meshlib.SymMatrix2b b)

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

Calls MR_SymMatrix2b_add_assign().

◆ assignFromAnother()

meshlib.SymMatrix2b meshlib.SymMatrix2b.assignFromAnother ( meshlib.SymMatrix2b _other)

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

Calls MR_SymMatrix2b_AssignFromAnother().

◆ det()

boolean meshlib.SymMatrix2b.det ( )

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

Calls MR_SymMatrix2b_det().

◆ diagonal()

meshlib.SymMatrix2b meshlib.SymMatrix2b.diagonal ( boolean diagVal)
static

Generated from method MR::SymMatrix2b::diagonal.

Calls MR_SymMatrix2b_diagonal().

◆ div_assign()

meshlib.SymMatrix2b meshlib.SymMatrix2b.div_assign ( boolean b)

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

Calls MR_SymMatrix2b_div_assign().

◆ identity()

meshlib.SymMatrix2b meshlib.SymMatrix2b.identity ( )
static

Generated from method MR::SymMatrix2b::identity.

Calls MR_SymMatrix2b_identity().

◆ inverse() [1/2]

meshlib.SymMatrix2b meshlib.SymMatrix2b.inverse ( )

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

Calls MR_SymMatrix2b_inverse_0().

◆ inverse() [2/2]

meshlib.SymMatrix2b meshlib.SymMatrix2b.inverse ( boolean det)

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

Calls MR_SymMatrix2b_inverse_1().

◆ mul_assign()

meshlib.SymMatrix2b meshlib.SymMatrix2b.mul_assign ( boolean b)

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

Calls MR_SymMatrix2b_mul_assign().

◆ normSq()

boolean meshlib.SymMatrix2b.normSq ( )

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

Calls MR_SymMatrix2b_normSq().

◆ setXx()

void meshlib.SymMatrix2b.setXx ( boolean value)

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

Calls MR_SymMatrix2b_Set_xx().

◆ setXy()

void meshlib.SymMatrix2b.setXy ( boolean value)

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

Calls MR_SymMatrix2b_Set_xy().

◆ setYy()

void meshlib.SymMatrix2b.setYy ( boolean value)

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

Calls MR_SymMatrix2b_Set_yy().

◆ sub_assign()

meshlib.SymMatrix2b meshlib.SymMatrix2b.sub_assign ( meshlib.SymMatrix2b b)

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

Calls MR_SymMatrix2b_sub_assign().

◆ trace()

boolean meshlib.SymMatrix2b.trace ( )

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

Calls MR_SymMatrix2b_trace().

◆ xx()

boolean meshlib.SymMatrix2b.xx ( )

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

Calls MR_SymMatrix2b_Get_xx().

◆ xy()

boolean meshlib.SymMatrix2b.xy ( )

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

Calls MR_SymMatrix2b_Get_xy().

◆ yy()

boolean meshlib.SymMatrix2b.yy ( )

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

Calls MR_SymMatrix2b_Get_yy().


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