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

Public Member Functions

 BooleanParameters (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BooleanParameters ()
 BooleanParameters (meshlib.AffineXf3f rigidB2A, meshlib.BooleanResultMapper mapper, meshlib.BooleanPreCutResult outPreCutA, meshlib.BooleanPreCutResult outPreCutB, meshlib.std_vector_std_vector_MR_EdgeId outCutEdges, boolean mergeAllNonIntersectingComponents, boolean forceCut, meshlib.std_function_bool_from_float cb)
 BooleanParameters (meshlib.BooleanParameters _other)
meshlib.BooleanParameters assignFromAnother (meshlib.BooleanParameters _other)
java.lang.foreign.MemorySegment rigidB2A ()
void setRigidB2A (meshlib.AffineXf3f value)
java.lang.foreign.MemorySegment mapper ()
void setMapper (meshlib.BooleanResultMapper value)
java.lang.foreign.MemorySegment outPreCutA ()
void setOutPreCutA (meshlib.BooleanPreCutResult value)
java.lang.foreign.MemorySegment outPreCutB ()
void setOutPreCutB (meshlib.BooleanPreCutResult value)
java.lang.foreign.MemorySegment outCutEdges ()
void setOutCutEdges (meshlib.std_vector_std_vector_MR_EdgeId value)
boolean mergeAllNonIntersectingComponents ()
void setMergeAllNonIntersectingComponents (boolean value)
boolean forceCut ()
void setForceCut (boolean value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float 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

◆ BooleanParameters() [1/4]

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

◆ BooleanParameters() [2/4]

meshlib.BooleanParameters.BooleanParameters ( )

Constructs an empty (default-constructed) instance.

Calls MR_BooleanParameters_DefaultConstruct().

◆ BooleanParameters() [3/4]

meshlib.BooleanParameters.BooleanParameters ( meshlib.AffineXf3f rigidB2A,
meshlib.BooleanResultMapper mapper,
meshlib.BooleanPreCutResult outPreCutA,
meshlib.BooleanPreCutResult outPreCutB,
meshlib.std_vector_std_vector_MR_EdgeId outCutEdges,
boolean mergeAllNonIntersectingComponents,
boolean forceCut,
meshlib.std_function_bool_from_float cb )

Constructs MR::BooleanParameters elementwise. The reference to the parameter rigidB2A might be preserved in the constructed object. The reference to the parameter mapper might be preserved in the constructed object. The reference to the parameter outPreCutA might be preserved in the constructed object. The reference to the parameter outPreCutB might be preserved in the constructed object. The reference to the parameter outCutEdges might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

Calls MR_BooleanParameters_ConstructFrom().

◆ BooleanParameters() [4/4]

meshlib.BooleanParameters.BooleanParameters ( meshlib.BooleanParameters _other)

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

Calls MR_BooleanParameters_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.BooleanParameters meshlib.BooleanParameters.assignFromAnother ( meshlib.BooleanParameters _other)

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

Calls MR_BooleanParameters_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.BooleanParameters.cb ( )

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

Calls MR_BooleanParameters_Get_cb().

◆ forceCut()

boolean meshlib.BooleanParameters.forceCut ( )

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area if enabled returned meshes will not be stitched but merged, consider MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards

Warning
not recommended in most cases Returns a pointer to a member variable of class MR::BooleanParameters named forceCut. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_forceCut().

◆ mapper()

java.lang.foreign.MemorySegment meshlib.BooleanParameters.mapper ( )

Optional output structure to map mesh A and mesh B topology to result mesh topology Returns a pointer to a member variable of class MR::BooleanParameters named mapper. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_mapper(). Some types are raw C types, see the C bindings for the details.

◆ mergeAllNonIntersectingComponents()

boolean meshlib.BooleanParameters.mergeAllNonIntersectingComponents ( )

By default produce valid operation on disconnected components if set merge all non-intersecting components Returns a pointer to a member variable of class MR::BooleanParameters named mergeAllNonIntersectingComponents. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_mergeAllNonIntersectingComponents().

◆ outCutEdges()

java.lang.foreign.MemorySegment meshlib.BooleanParameters.outCutEdges ( )

Optional output cut edges of booleaned meshes Returns a pointer to a member variable of class MR::BooleanParameters named outCutEdges. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_outCutEdges(). Some types are raw C types, see the C bindings for the details.

◆ outPreCutA()

java.lang.foreign.MemorySegment meshlib.BooleanParameters.outPreCutA ( )

Optional precut output of meshA, if present - does not perform boolean and just return them Returns a pointer to a member variable of class MR::BooleanParameters named outPreCutA. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_outPreCutA(). Some types are raw C types, see the C bindings for the details.

◆ outPreCutB()

java.lang.foreign.MemorySegment meshlib.BooleanParameters.outPreCutB ( )

Optional precut output of meshB, if present - does not perform boolean and just return them Returns a pointer to a member variable of class MR::BooleanParameters named outPreCutB. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_outPreCutB(). Some types are raw C types, see the C bindings for the details.

◆ rigidB2A()

java.lang.foreign.MemorySegment meshlib.BooleanParameters.rigidB2A ( )

Transform from mesh B space to mesh A space Returns a pointer to a member variable of class MR::BooleanParameters named rigidB2A. The reference to this object might be preserved as the return value.

Calls MR_BooleanParameters_Get_rigidB2A(). Some types are raw C types, see the C bindings for the details.

◆ setCb()

void meshlib.BooleanParameters.setCb ( meshlib.std_function_bool_from_float value)

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

Calls MR_BooleanParameters_Set_cb().

◆ setForceCut()

void meshlib.BooleanParameters.setForceCut ( boolean value)

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area if enabled returned meshes will not be stitched but merged, consider MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards

Warning
not recommended in most cases Modifies a member variable of class MR::BooleanParameters named forceCut.

Calls MR_BooleanParameters_Set_forceCut().

◆ setMapper()

void meshlib.BooleanParameters.setMapper ( meshlib.BooleanResultMapper value)

Optional output structure to map mesh A and mesh B topology to result mesh topology Modifies a member variable of class MR::BooleanParameters named mapper. The reference to the parameter value might be preserved in this object in element mapper.

Calls MR_BooleanParameters_Set_mapper().

◆ setMergeAllNonIntersectingComponents()

void meshlib.BooleanParameters.setMergeAllNonIntersectingComponents ( boolean value)

By default produce valid operation on disconnected components if set merge all non-intersecting components Modifies a member variable of class MR::BooleanParameters named mergeAllNonIntersectingComponents.

Calls MR_BooleanParameters_Set_mergeAllNonIntersectingComponents().

◆ setOutCutEdges()

void meshlib.BooleanParameters.setOutCutEdges ( meshlib.std_vector_std_vector_MR_EdgeId value)

Optional output cut edges of booleaned meshes Modifies a member variable of class MR::BooleanParameters named outCutEdges. The reference to the parameter value might be preserved in this object in element outCutEdges.

Calls MR_BooleanParameters_Set_outCutEdges().

◆ setOutPreCutA()

void meshlib.BooleanParameters.setOutPreCutA ( meshlib.BooleanPreCutResult value)

Optional precut output of meshA, if present - does not perform boolean and just return them Modifies a member variable of class MR::BooleanParameters named outPreCutA. The reference to the parameter value might be preserved in this object in element outPreCutA.

Calls MR_BooleanParameters_Set_outPreCutA().

◆ setOutPreCutB()

void meshlib.BooleanParameters.setOutPreCutB ( meshlib.BooleanPreCutResult value)

Optional precut output of meshB, if present - does not perform boolean and just return them Modifies a member variable of class MR::BooleanParameters named outPreCutB. The reference to the parameter value might be preserved in this object in element outPreCutB.

Calls MR_BooleanParameters_Set_outPreCutB().

◆ setRigidB2A()

void meshlib.BooleanParameters.setRigidB2A ( meshlib.AffineXf3f value)

Transform from mesh B space to mesh A space Modifies a member variable of class MR::BooleanParameters named rigidB2A. The reference to the parameter value might be preserved in this object in element rigidB2A.

Calls MR_BooleanParameters_Set_rigidB2A().


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