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

Public Member Functions

 DeloneFlipsCache (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DeloneFlipsCache ()
 DeloneFlipsCache (meshlib.UndirectedEdgeBitSet flipCandidates, meshlib.UndirectedEdgeBitSet nextFlipCandidates, meshlib.UndirectedEdgeBitSet queuedEdges, meshlib.std_vector_MR_UndirectedEdgeId roundEdges, meshlib.std_vector_MR_UndirectedEdgeId nextRoundEdges)
 DeloneFlipsCache (meshlib.DeloneFlipsCache _other)
meshlib.DeloneFlipsCache assignFromAnother (meshlib.DeloneFlipsCache _other)
meshlib.UndirectedEdgeBitSet flipCandidates ()
void setFlipCandidates (meshlib.UndirectedEdgeBitSet value)
meshlib.UndirectedEdgeBitSet nextFlipCandidates ()
void setNextFlipCandidates (meshlib.UndirectedEdgeBitSet value)
meshlib.UndirectedEdgeBitSet queuedEdges ()
void setQueuedEdges (meshlib.UndirectedEdgeBitSet value)
meshlib.std_vector_MR_UndirectedEdgeId roundEdges ()
void setRoundEdges (meshlib.std_vector_MR_UndirectedEdgeId value)
meshlib.std_vector_MR_UndirectedEdgeId nextRoundEdges ()
void setNextRoundEdges (meshlib.std_vector_MR_UndirectedEdgeId 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

the buffers makeDeloneEdgeFlips grows on every call; a caller running it many times on small meshes (e.g. one hole patch after another) keeps one instance between the calls to allocate them just once; one cache must not be used by several threads at once Generated from class MR::DeloneFlipsCache.

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

Constructor & Destructor Documentation

◆ DeloneFlipsCache() [1/4]

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

◆ DeloneFlipsCache() [2/4]

meshlib.DeloneFlipsCache.DeloneFlipsCache ( )

Constructs an empty (default-constructed) instance.

Calls MR_DeloneFlipsCache_DefaultConstruct().

◆ DeloneFlipsCache() [3/4]

meshlib.DeloneFlipsCache.DeloneFlipsCache ( meshlib.UndirectedEdgeBitSet flipCandidates,
meshlib.UndirectedEdgeBitSet nextFlipCandidates,
meshlib.UndirectedEdgeBitSet queuedEdges,
meshlib.std_vector_MR_UndirectedEdgeId roundEdges,
meshlib.std_vector_MR_UndirectedEdgeId nextRoundEdges )

Constructs MR::DeloneFlipsCache elementwise. The reference to the parameter flipCandidates might be preserved in the constructed object. The reference to the parameter nextFlipCandidates might be preserved in the constructed object. The reference to the parameter queuedEdges might be preserved in the constructed object. The reference to the parameter roundEdges might be preserved in the constructed object. The reference to the parameter nextRoundEdges might be preserved in the constructed object.

Calls MR_DeloneFlipsCache_ConstructFrom().

◆ DeloneFlipsCache() [4/4]

meshlib.DeloneFlipsCache.DeloneFlipsCache ( meshlib.DeloneFlipsCache _other)

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

Calls MR_DeloneFlipsCache_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DeloneFlipsCache meshlib.DeloneFlipsCache.assignFromAnother ( meshlib.DeloneFlipsCache _other)

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

Calls MR_DeloneFlipsCache_AssignFromAnother().

◆ flipCandidates()

meshlib.UndirectedEdgeBitSet meshlib.DeloneFlipsCache.flipCandidates ( )

of the parallel passes (a mesh of 256 undirected edges or more) Returns a pointer to a member variable of class MR::DeloneFlipsCache named flipCandidates. The reference to this object might be preserved as the return value.

Calls MR_DeloneFlipsCache_Get_flipCandidates().

◆ nextFlipCandidates()

meshlib.UndirectedEdgeBitSet meshlib.DeloneFlipsCache.nextFlipCandidates ( )

of the parallel passes (a mesh of 256 undirected edges or more) Returns a pointer to a member variable of class MR::DeloneFlipsCache named nextFlipCandidates. The reference to this object might be preserved as the return value.

Calls MR_DeloneFlipsCache_Get_nextFlipCandidates().

◆ nextRoundEdges()

meshlib.std_vector_MR_UndirectedEdgeId meshlib.DeloneFlipsCache.nextRoundEdges ( )

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

Calls MR_DeloneFlipsCache_Get_nextRoundEdges().

◆ queuedEdges()

meshlib.UndirectedEdgeBitSet meshlib.DeloneFlipsCache.queuedEdges ( )

of the serial rounds (a smaller mesh): the edges already queued for the next round, and the two rounds Returns a pointer to a member variable of class MR::DeloneFlipsCache named queuedEdges. The reference to this object might be preserved as the return value.

Calls MR_DeloneFlipsCache_Get_queuedEdges().

◆ roundEdges()

meshlib.std_vector_MR_UndirectedEdgeId meshlib.DeloneFlipsCache.roundEdges ( )

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

Calls MR_DeloneFlipsCache_Get_roundEdges().

◆ setFlipCandidates()

void meshlib.DeloneFlipsCache.setFlipCandidates ( meshlib.UndirectedEdgeBitSet value)

of the parallel passes (a mesh of 256 undirected edges or more) Modifies a member variable of class MR::DeloneFlipsCache named flipCandidates. The reference to the parameter value might be preserved in this object in element flipCandidates.

Calls MR_DeloneFlipsCache_Set_flipCandidates().

◆ setNextFlipCandidates()

void meshlib.DeloneFlipsCache.setNextFlipCandidates ( meshlib.UndirectedEdgeBitSet value)

of the parallel passes (a mesh of 256 undirected edges or more) Modifies a member variable of class MR::DeloneFlipsCache named nextFlipCandidates. The reference to the parameter value might be preserved in this object in element nextFlipCandidates.

Calls MR_DeloneFlipsCache_Set_nextFlipCandidates().

◆ setNextRoundEdges()

void meshlib.DeloneFlipsCache.setNextRoundEdges ( meshlib.std_vector_MR_UndirectedEdgeId value)

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

Calls MR_DeloneFlipsCache_Set_nextRoundEdges().

◆ setQueuedEdges()

void meshlib.DeloneFlipsCache.setQueuedEdges ( meshlib.UndirectedEdgeBitSet value)

of the serial rounds (a smaller mesh): the edges already queued for the next round, and the two rounds Modifies a member variable of class MR::DeloneFlipsCache named queuedEdges. The reference to the parameter value might be preserved in this object in element queuedEdges.

Calls MR_DeloneFlipsCache_Set_queuedEdges().

◆ setRoundEdges()

void meshlib.DeloneFlipsCache.setRoundEdges ( meshlib.std_vector_MR_UndirectedEdgeId value)

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

Calls MR_DeloneFlipsCache_Set_roundEdges().


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