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

Public Member Functions

 IntersectionsMap (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 IntersectionsMap ()
 IntersectionsMap (long shift, meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo map)
 IntersectionsMap (meshlib.planartriangulation.IntersectionsMap _other)
meshlib.planartriangulation.IntersectionsMap assignFromAnother (meshlib.planartriangulation.IntersectionsMap _other)
long shift ()
void setShift (long value)
meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo map ()
void setMap (meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo 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

struct to map new vertices (only appear on intersections) of the outline to it's edges Generated from class MR::PlanarTriangulation::IntersectionsMap.

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

Constructor & Destructor Documentation

◆ IntersectionsMap() [1/4]

meshlib.planartriangulation.IntersectionsMap.IntersectionsMap ( 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.

◆ IntersectionsMap() [2/4]

meshlib.planartriangulation.IntersectionsMap.IntersectionsMap ( )

Constructs an empty (default-constructed) instance.

Calls MR_PlanarTriangulation_IntersectionsMap_DefaultConstruct().

◆ IntersectionsMap() [3/4]

meshlib.planartriangulation.IntersectionsMap.IntersectionsMap ( long shift,
meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo map )

Constructs MR::PlanarTriangulation::IntersectionsMap elementwise. The reference to the parameter shift might be preserved in the constructed object. The reference to the parameter map might be preserved in the constructed object.

Calls MR_PlanarTriangulation_IntersectionsMap_ConstructFrom().

◆ IntersectionsMap() [4/4]

meshlib.planartriangulation.IntersectionsMap.IntersectionsMap ( meshlib.planartriangulation.IntersectionsMap _other)

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

Calls MR_PlanarTriangulation_IntersectionsMap_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.planartriangulation.IntersectionsMap meshlib.planartriangulation.IntersectionsMap.assignFromAnother ( meshlib.planartriangulation.IntersectionsMap _other)

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

Calls MR_PlanarTriangulation_IntersectionsMap_AssignFromAnother().

◆ map()

meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo meshlib.planartriangulation.IntersectionsMap.map ( )

map[id-shift] = {lower intersection edge, upper intersection edge} Returns a pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named map. The reference to this object might be preserved as the return value.

Calls MR_PlanarTriangulation_IntersectionsMap_Get_map().

◆ setMap()

void meshlib.planartriangulation.IntersectionsMap.setMap ( meshlib.std_vector_MR_PlanarTriangulation_IntersectionInfo value)

map[id-shift] = {lower intersection edge, upper intersection edge} Modifies a member variable of class MR::PlanarTriangulation::IntersectionsMap named map. The reference to the parameter value might be preserved in this object in element map.

Calls MR_PlanarTriangulation_IntersectionsMap_Set_map().

◆ setShift()

void meshlib.planartriangulation.IntersectionsMap.setShift ( long value)

shift of index Modifies a member variable of class MR::PlanarTriangulation::IntersectionsMap named shift. The reference to the parameter value might be preserved in this object in element shift.

Calls MR_PlanarTriangulation_IntersectionsMap_Set_shift().

◆ shift()

long meshlib.planartriangulation.IntersectionsMap.shift ( )

shift of index Returns a pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named shift. The reference to this object might be preserved as the return value.

Calls MR_PlanarTriangulation_IntersectionsMap_Get_shift().


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