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

Public Member Functions

 Settings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Settings ()
 Settings (boolean touchIsIntersection, meshlib.selfintersections.Settings_Method method, int relaxIterations, int maxExpand, float subdivideEdgeLen, boolean mimicPatch, meshlib.std_function_bool_from_float callback, meshlib.FaceMap new2Old)
 Settings (meshlib.selfintersections.Settings _other)
meshlib.selfintersections.Settings assignFromAnother (meshlib.selfintersections.Settings _other)
boolean touchIsIntersection ()
void setTouchIsIntersection (boolean value)
meshlib.selfintersections.Settings_Method method ()
void setMethod (meshlib.selfintersections.Settings_Method value)
int relaxIterations ()
void setRelaxIterations (int value)
int maxExpand ()
void setMaxExpand (int value)
float subdivideEdgeLen ()
void setSubdivideEdgeLen (float value)
boolean mimicPatch ()
void setMimicPatch (boolean value)
meshlib.std_function_bool_from_float callback ()
void setCallback (meshlib.std_function_bool_from_float value)
java.lang.foreign.MemorySegment new2Old ()
void setNew2Old (meshlib.FaceMap 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)

Detailed Description

Setting set for mesh self-intersections fix Generated from class MR::SelfIntersections::Settings.

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

Constructor & Destructor Documentation

◆ Settings() [1/4]

meshlib.selfintersections.Settings.Settings ( 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.

◆ Settings() [2/4]

meshlib.selfintersections.Settings.Settings ( )

Constructs an empty (default-constructed) instance.

Calls MR_SelfIntersections_Settings_DefaultConstruct().

◆ Settings() [3/4]

meshlib.selfintersections.Settings.Settings ( boolean touchIsIntersection,
meshlib.selfintersections.Settings_Method method,
int relaxIterations,
int maxExpand,
float subdivideEdgeLen,
boolean mimicPatch,
meshlib.std_function_bool_from_float callback,
meshlib.FaceMap new2Old )

Constructs MR::SelfIntersections::Settings elementwise. The reference to the parameter method might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object. The reference to the parameter new2Old might be preserved in the constructed object.

Calls MR_SelfIntersections_Settings_ConstructFrom().

◆ Settings() [4/4]

meshlib.selfintersections.Settings.Settings ( meshlib.selfintersections.Settings _other)

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

Calls MR_SelfIntersections_Settings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.selfintersections.Settings meshlib.selfintersections.Settings.assignFromAnother ( meshlib.selfintersections.Settings _other)

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

Calls MR_SelfIntersections_Settings_AssignFromAnother().

◆ callback()

meshlib.std_function_bool_from_float meshlib.selfintersections.Settings.callback ( )

Callback function Returns a pointer to a member variable of class MR::SelfIntersections::Settings named callback. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_callback().

◆ maxExpand()

int meshlib.selfintersections.Settings.maxExpand ( )

Maximum expand count (edge steps from self-intersecting faces), should be >= 0 Returns a pointer to a member variable of class MR::SelfIntersections::Settings named maxExpand. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_maxExpand().

◆ method()

meshlib.selfintersections.Settings_Method meshlib.selfintersections.Settings.method ( )

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

Calls MR_SelfIntersections_Settings_Get_method().

◆ mimicPatch()

boolean meshlib.selfintersections.Settings.mimicPatch ( )

trying to stay close to initial surface when patching Returns a pointer to a member variable of class MR::SelfIntersections::Settings named mimicPatch. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_mimicPatch().

◆ new2Old()

java.lang.foreign.MemorySegment meshlib.selfintersections.Settings.new2Old ( )

optional output of Method::SelfBoolean: for every face of the fixed mesh, the face of the original mesh that it is (a part of); not set by the other methods Returns a pointer to a member variable of class MR::SelfIntersections::Settings named new2Old. The reference to this object might be preserved as the return value.

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

◆ relaxIterations()

int meshlib.selfintersections.Settings.relaxIterations ( )

Maximum relax iterations Returns a pointer to a member variable of class MR::SelfIntersections::Settings named relaxIterations. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_relaxIterations().

◆ setCallback()

void meshlib.selfintersections.Settings.setCallback ( meshlib.std_function_bool_from_float value)

Callback function Modifies a member variable of class MR::SelfIntersections::Settings named callback. The reference to the parameter value might be preserved in this object in element callback.

Calls MR_SelfIntersections_Settings_Set_callback().

◆ setMaxExpand()

void meshlib.selfintersections.Settings.setMaxExpand ( int value)

Maximum expand count (edge steps from self-intersecting faces), should be >= 0 Modifies a member variable of class MR::SelfIntersections::Settings named maxExpand.

Calls MR_SelfIntersections_Settings_Set_maxExpand().

◆ setMethod()

void meshlib.selfintersections.Settings.setMethod ( meshlib.selfintersections.Settings_Method value)

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

Calls MR_SelfIntersections_Settings_Set_method().

◆ setMimicPatch()

void meshlib.selfintersections.Settings.setMimicPatch ( boolean value)

trying to stay close to initial surface when patching Modifies a member variable of class MR::SelfIntersections::Settings named mimicPatch.

Calls MR_SelfIntersections_Settings_Set_mimicPatch().

◆ setNew2Old()

void meshlib.selfintersections.Settings.setNew2Old ( meshlib.FaceMap value)

optional output of Method::SelfBoolean: for every face of the fixed mesh, the face of the original mesh that it is (a part of); not set by the other methods Modifies a member variable of class MR::SelfIntersections::Settings named new2Old. The reference to the parameter value might be preserved in this object in element new2Old.

Calls MR_SelfIntersections_Settings_Set_new2Old().

◆ setRelaxIterations()

void meshlib.selfintersections.Settings.setRelaxIterations ( int value)

Maximum relax iterations Modifies a member variable of class MR::SelfIntersections::Settings named relaxIterations.

Calls MR_SelfIntersections_Settings_Set_relaxIterations().

◆ setSubdivideEdgeLen()

void meshlib.selfintersections.Settings.setSubdivideEdgeLen ( float value)

Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Modifies a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen.

Calls MR_SelfIntersections_Settings_Set_subdivideEdgeLen().

◆ setTouchIsIntersection()

void meshlib.selfintersections.Settings.setTouchIsIntersection ( boolean value)

If true then count touching faces as self-intersections Modifies a member variable of class MR::SelfIntersections::Settings named touchIsIntersection.

Calls MR_SelfIntersections_Settings_Set_touchIsIntersection().

◆ subdivideEdgeLen()

float meshlib.selfintersections.Settings.subdivideEdgeLen ( )

Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Returns a pointer to a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_subdivideEdgeLen().

◆ touchIsIntersection()

boolean meshlib.selfintersections.Settings.touchIsIntersection ( )

If true then count touching faces as self-intersections Returns a pointer to a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. The reference to this object might be preserved as the return value.

Calls MR_SelfIntersections_Settings_Get_touchIsIntersection().


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