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

Public Member Functions

 BooleanResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BooleanResult ()
 BooleanResult (meshlib.Mesh mesh, meshlib.FaceBitSet meshABadContourFaces, meshlib.FaceBitSet meshBBadContourFaces, java.lang.String errorString)
 BooleanResult (meshlib.BooleanResult _other)
boolean convertTo_bool ()
meshlib.BooleanResult assignFromAnother (meshlib.BooleanResult _other)
boolean valid ()
meshlib.Mesh opDeref_ref ()
meshlib.Mesh opDeref_const_ref ()
meshlib.Mesh arrow_mut ()
meshlib.Mesh arrow ()
meshlib.Mesh mesh ()
void setMesh (meshlib.Mesh value)
meshlib.FaceBitSet meshABadContourFaces ()
void setMeshABadContourFaces (meshlib.FaceBitSet value)
meshlib.FaceBitSet meshBBadContourFaces ()
void setMeshBBadContourFaces (meshlib.FaceBitSet value)
meshlib.std_string errorString ()
void setErrorString (java.lang.String 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

◆ BooleanResult() [1/4]

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

◆ BooleanResult() [2/4]

meshlib.BooleanResult.BooleanResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_BooleanResult_DefaultConstruct().

◆ BooleanResult() [3/4]

meshlib.BooleanResult.BooleanResult ( meshlib.Mesh mesh,
meshlib.FaceBitSet meshABadContourFaces,
meshlib.FaceBitSet meshBBadContourFaces,
java.lang.String errorString )

Constructs MR::BooleanResult elementwise. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter meshABadContourFaces might be preserved in the constructed object. The reference to the parameter meshBBadContourFaces might be preserved in the constructed object. The reference to the parameter errorString might be preserved in the constructed object.

Calls MR_BooleanResult_ConstructFrom().

◆ BooleanResult() [4/4]

meshlib.BooleanResult.BooleanResult ( meshlib.BooleanResult _other)

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

Calls MR_BooleanResult_ConstructFromAnother().

Member Function Documentation

◆ arrow()

meshlib.Mesh meshlib.BooleanResult.arrow ( )

Generated from method MR::BooleanResult::operator->.

Calls MR_BooleanResult_arrow().

◆ arrow_mut()

meshlib.Mesh meshlib.BooleanResult.arrow_mut ( )

Generated from method MR::BooleanResult::operator->.

Calls MR_BooleanResult_arrow_mut().

◆ assignFromAnother()

meshlib.BooleanResult meshlib.BooleanResult.assignFromAnother ( meshlib.BooleanResult _other)

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

Calls MR_BooleanResult_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.BooleanResult.convertTo_bool ( )

Generated from conversion operator MR::BooleanResult::operator bool.

Calls MR_BooleanResult_ConvertTo_bool().

◆ errorString()

meshlib.std_string meshlib.BooleanResult.errorString ( )

Holds error message, empty if boolean succeed Returns a pointer to a member variable of class MR::BooleanResult named errorString. The reference to this object might be preserved as the return value.

Calls MR_BooleanResult_Get_errorString().

◆ mesh()

meshlib.Mesh meshlib.BooleanResult.mesh ( )

Result mesh of boolean operation, if error occurred it would be empty Returns a pointer to a member variable of class MR::BooleanResult named mesh. The reference to this object might be preserved as the return value.

Calls MR_BooleanResult_Get_mesh().

◆ meshABadContourFaces()

meshlib.FaceBitSet meshlib.BooleanResult.meshABadContourFaces ( )

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect Returns a pointer to a member variable of class MR::BooleanResult named meshABadContourFaces. The reference to this object might be preserved as the return value.

Calls MR_BooleanResult_Get_meshABadContourFaces().

◆ meshBBadContourFaces()

meshlib.FaceBitSet meshlib.BooleanResult.meshBBadContourFaces ( )

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect Returns a pointer to a member variable of class MR::BooleanResult named meshBBadContourFaces. The reference to this object might be preserved as the return value.

Calls MR_BooleanResult_Get_meshBBadContourFaces().

◆ opDeref_const_ref()

meshlib.Mesh meshlib.BooleanResult.opDeref_const_ref ( )

Generated from method MR::BooleanResult::operator*. The reference to this object might be preserved in the return value.

Calls MR_deref_const_MR_BooleanResult_ref().

◆ opDeref_ref()

meshlib.Mesh meshlib.BooleanResult.opDeref_ref ( )

Generated from method MR::BooleanResult::operator*. The reference to this object might be preserved in the return value.

Calls MR_deref_MR_BooleanResult_ref().

◆ setErrorString()

void meshlib.BooleanResult.setErrorString ( java.lang.String value)

Holds error message, empty if boolean succeed Modifies a member variable of class MR::BooleanResult named errorString. The reference to the parameter value might be preserved in this object in element errorString.

Calls MR_BooleanResult_Set_errorString().

◆ setMesh()

void meshlib.BooleanResult.setMesh ( meshlib.Mesh value)

Result mesh of boolean operation, if error occurred it would be empty Modifies a member variable of class MR::BooleanResult named mesh. The reference to the parameter value might be preserved in this object in element mesh.

Calls MR_BooleanResult_Set_mesh().

◆ setMeshABadContourFaces()

void meshlib.BooleanResult.setMeshABadContourFaces ( meshlib.FaceBitSet value)

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect Modifies a member variable of class MR::BooleanResult named meshABadContourFaces. The reference to the parameter value might be preserved in this object in element meshABadContourFaces.

Calls MR_BooleanResult_Set_meshABadContourFaces().

◆ setMeshBBadContourFaces()

void meshlib.BooleanResult.setMeshBBadContourFaces ( meshlib.FaceBitSet value)

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect Modifies a member variable of class MR::BooleanResult named meshBBadContourFaces. The reference to the parameter value might be preserved in this object in element meshBBadContourFaces.

Calls MR_BooleanResult_Set_meshBBadContourFaces().

◆ valid()

boolean meshlib.BooleanResult.valid ( )

Returns true if boolean succeed, false otherwise Generated from method MR::BooleanResult::valid.

Calls MR_BooleanResult_valid().


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