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

Public Member Functions

 CutMeshResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CutMeshResult ()
 CutMeshResult (meshlib.std_vector_std_vector_MR_EdgeId resultCut, meshlib.FaceBitSet fbsWithContourIntersections)
 CutMeshResult (meshlib.CutMeshResult _other)
meshlib.CutMeshResult assignFromAnother (meshlib.CutMeshResult _other)
meshlib.std_vector_std_vector_MR_EdgeId resultCut ()
void setResultCut (meshlib.std_vector_std_vector_MR_EdgeId value)
meshlib.FaceBitSet fbsWithContourIntersections ()
void setFbsWithContourIntersections (meshlib.FaceBitSet 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)

Constructor & Destructor Documentation

◆ CutMeshResult() [1/4]

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

◆ CutMeshResult() [2/4]

meshlib.CutMeshResult.CutMeshResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_CutMeshResult_DefaultConstruct().

◆ CutMeshResult() [3/4]

meshlib.CutMeshResult.CutMeshResult ( meshlib.std_vector_std_vector_MR_EdgeId resultCut,
meshlib.FaceBitSet fbsWithContourIntersections )

Constructs MR::CutMeshResult elementwise. The reference to the parameter resultCut might be preserved in the constructed object. The reference to the parameter fbsWithContourIntersections might be preserved in the constructed object.

Calls MR_CutMeshResult_ConstructFrom().

◆ CutMeshResult() [4/4]

meshlib.CutMeshResult.CutMeshResult ( meshlib.CutMeshResult _other)

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

Calls MR_CutMeshResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CutMeshResult meshlib.CutMeshResult.assignFromAnother ( meshlib.CutMeshResult _other)

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

Calls MR_CutMeshResult_AssignFromAnother().

◆ fbsWithContourIntersections()

meshlib.FaceBitSet meshlib.CutMeshResult.fbsWithContourIntersections ( )

Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way; under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too: where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet), or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it

See also
MR::CutMeshParameters Returns a pointer to a member variable of class MR::CutMeshResult named fbsWithContourIntersections. The reference to this object might be preserved as the return value.

Calls MR_CutMeshResult_Get_fbsWithContourIntersections().

◆ resultCut()

meshlib.std_vector_std_vector_MR_EdgeId meshlib.CutMeshResult.resultCut ( )

Paths of new edges on mesh, they represent same contours as input, but already cut; a contour going from a mesh vertex to a point and back has an edge followed by its sym there; with CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces Returns a pointer to a member variable of class MR::CutMeshResult named resultCut. The reference to this object might be preserved as the return value.

Calls MR_CutMeshResult_Get_resultCut().

◆ setFbsWithContourIntersections()

void meshlib.CutMeshResult.setFbsWithContourIntersections ( meshlib.FaceBitSet value)

Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way; under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too: where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet), or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it

See also
MR::CutMeshParameters Modifies a member variable of class MR::CutMeshResult named fbsWithContourIntersections. The reference to the parameter value might be preserved in this object in element fbsWithContourIntersections.

Calls MR_CutMeshResult_Set_fbsWithContourIntersections().

◆ setResultCut()

void meshlib.CutMeshResult.setResultCut ( meshlib.std_vector_std_vector_MR_EdgeId value)

Paths of new edges on mesh, they represent same contours as input, but already cut; a contour going from a mesh vertex to a point and back has an edge followed by its sym there; with CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces Modifies a member variable of class MR::CutMeshResult named resultCut. The reference to the parameter value might be preserved in this object in element resultCut.

Calls MR_CutMeshResult_Set_resultCut().


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