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

Public Member Functions

 IFillContours2DPlanCache (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 buffers of fillContours2DPlan alive between calls (the sweep-line triangulation's own cache among them), so a caller preparing plans for many holes one by one avoids re-allocating them on every call; one cache must not be used by several threads at once Generated from class MR::IFillContours2DPlanCache.

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

Constructor & Destructor Documentation

◆ IFillContours2DPlanCache()

meshlib.IFillContours2DPlanCache.IFillContours2DPlanCache ( 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: