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

Public Member Functions

 ISweepLineCache (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
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

keeps the internal buffers of the sweep-line triangulation alive between runs, so a caller triangulating many contour sets one by one avoids re-allocating them on every call; the entries returning a Mesh move the topology and the points out into it, so those two grow again on the next run, while triangulateDisjointContoursTopology keeps everything; one cache must not be used by several threads at once Generated from class MR::PlanarTriangulation::ISweepLineCache.

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

Constructor & Destructor Documentation

◆ ISweepLineCache()

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


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