MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.UnorientedTriangle Class Reference
Inheritance diagram for meshlib.UnorientedTriangle:

Public Member Functions

 UnorientedTriangle (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 UnorientedTriangle (meshlib.UnorientedTriangle _other)
 UnorientedTriangle (meshlib.std_array_MR_VertId_3 inVs, meshlib.bool_output outFlipped)
meshlib.std_array_MR_VertId_3 convertTo_std_array_MR_VertId_3_ref ()
meshlib.std_array_MR_VertId_3 convertTo_const_std_array_MR_VertId_3_ref ()
meshlib.UnorientedTriangle assignFromAnother (meshlib.UnorientedTriangle _other)
meshlib.std_array_MR_VertId_3 getFlipped ()
meshlib.VertId index_mut (long i)
meshlib.VertId index (long i)
meshlib.std_array_MR_VertId_3 verts ()
void setVerts (meshlib.std_array_MR_VertId_3 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 ()

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

describes a triangle as three vertex IDs sorted in a way to quickly find same triangles irrespective of vertex order (clockwise or counterclockwise) Generated from class MR::UnorientedTriangle.

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

Constructor & Destructor Documentation

◆ UnorientedTriangle() [1/3]

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

◆ UnorientedTriangle() [2/3]

meshlib.UnorientedTriangle.UnorientedTriangle ( meshlib.UnorientedTriangle _other)

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

Calls MR_UnorientedTriangle_ConstructFromAnother().

◆ UnorientedTriangle() [3/3]

meshlib.UnorientedTriangle.UnorientedTriangle ( meshlib.std_array_MR_VertId_3 inVs,
meshlib.bool_output outFlipped )

Generated from constructor MR::UnorientedTriangle::UnorientedTriangle. The reference to the parameter inVs might be preserved in the constructed object. The reference to the parameter outFlipped might be preserved in the constructed object.

Calls MR_UnorientedTriangle_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.UnorientedTriangle meshlib.UnorientedTriangle.assignFromAnother ( meshlib.UnorientedTriangle _other)

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

Calls MR_UnorientedTriangle_AssignFromAnother().

◆ convertTo_const_std_array_MR_VertId_3_ref()

meshlib.std_array_MR_VertId_3 meshlib.UnorientedTriangle.convertTo_const_std_array_MR_VertId_3_ref ( )

Generated from conversion operator MR::UnorientedTriangle::operator const std::array<MR::VertId, 3> &.

Calls MR_UnorientedTriangle_ConvertTo_const_std_array_MR_VertId_3_ref().

◆ convertTo_std_array_MR_VertId_3_ref()

meshlib.std_array_MR_VertId_3 meshlib.UnorientedTriangle.convertTo_std_array_MR_VertId_3_ref ( )

Generated from conversion operator MR::UnorientedTriangle::operator std::array<MR::VertId, 3> &.

Calls MR_UnorientedTriangle_ConvertTo_std_array_MR_VertId_3_ref().

◆ getFlipped()

meshlib.std_array_MR_VertId_3 meshlib.UnorientedTriangle.getFlipped ( )

returns this triangle with the opposite orientation Generated from method MR::UnorientedTriangle::getFlipped.

Calls MR_UnorientedTriangle_getFlipped().

◆ index()

meshlib.VertId meshlib.UnorientedTriangle.index ( long i)

Generated from method MR::UnorientedTriangle::operator[].

Calls MR_UnorientedTriangle_index().

◆ index_mut()

meshlib.VertId meshlib.UnorientedTriangle.index_mut ( long i)

Generated from method MR::UnorientedTriangle::operator[].

Calls MR_UnorientedTriangle_index_mut().

◆ setVerts()

void meshlib.UnorientedTriangle.setVerts ( meshlib.std_array_MR_VertId_3 value)

Modifies a member variable of class MR::UnorientedTriangle named verts. The reference to the parameter value might be preserved in this object in element verts.

Calls MR_UnorientedTriangle_Set_verts().

◆ verts()

meshlib.std_array_MR_VertId_3 meshlib.UnorientedTriangle.verts ( )

Returns a pointer to a member variable of class MR::UnorientedTriangle named verts. The reference to this object might be preserved as the return value.

Calls MR_UnorientedTriangle_Get_verts().


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