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

Public Member Functions

 FillHoleParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FillHoleParams ()
 FillHoleParams (meshlib.FillHoleMetric metric, boolean smoothBd, meshlib.FaceBitSet outNewFaces, meshlib.FillHoleParams_MultipleEdgesResolveMode multipleEdgesResolveMode, boolean makeDegenerateBand, int maxPolygonSubdivisions, meshlib.bool_output stopBeforeBadTriangulation)
 FillHoleParams (meshlib.FillHoleParams _other)
meshlib.FillHoleParams assignFromAnother (meshlib.FillHoleParams _other)
meshlib.FillHoleMetric metric ()
void setMetric (meshlib.FillHoleMetric value)
boolean smoothBd ()
void setSmoothBd (boolean value)
java.lang.foreign.MemorySegment outNewFaces ()
void setOutNewFaces (meshlib.FaceBitSet value)
meshlib.FillHoleParams_MultipleEdgesResolveMode multipleEdgesResolveMode ()
void setMultipleEdgesResolveMode (meshlib.FillHoleParams_MultipleEdgesResolveMode value)
boolean makeDegenerateBand ()
void setMakeDegenerateBand (boolean value)
int maxPolygonSubdivisions ()
void setMaxPolygonSubdivisions (int value)
java.lang.foreign.MemorySegment stopBeforeBadTriangulation ()
void setStopBeforeBadTriangulation (meshlib.bool_output 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

◆ FillHoleParams() [1/4]

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

◆ FillHoleParams() [2/4]

meshlib.FillHoleParams.FillHoleParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_FillHoleParams_DefaultConstruct().

◆ FillHoleParams() [3/4]

meshlib.FillHoleParams.FillHoleParams ( meshlib.FillHoleMetric metric,
boolean smoothBd,
meshlib.FaceBitSet outNewFaces,
meshlib.FillHoleParams_MultipleEdgesResolveMode multipleEdgesResolveMode,
boolean makeDegenerateBand,
int maxPolygonSubdivisions,
meshlib.bool_output stopBeforeBadTriangulation )

Constructs MR::FillHoleParams elementwise. The reference to the parameter metric might be preserved in the constructed object. The reference to the parameter outNewFaces might be preserved in the constructed object. The reference to the parameter multipleEdgesResolveMode might be preserved in the constructed object. The reference to the parameter stopBeforeBadTriangulation might be preserved in the constructed object.

Calls MR_FillHoleParams_ConstructFrom().

◆ FillHoleParams() [4/4]

meshlib.FillHoleParams.FillHoleParams ( meshlib.FillHoleParams _other)

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

Calls MR_FillHoleParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.FillHoleParams meshlib.FillHoleParams.assignFromAnother ( meshlib.FillHoleParams _other)

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

Calls MR_FillHoleParams_AssignFromAnother().

◆ makeDegenerateBand()

boolean meshlib.FillHoleParams.makeDegenerateBand ( )

If true creates degenerate faces band around hole to have sharp angle visualization

Warning
This flag bad for result topology, most likely you do not need it

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

Calls MR_FillHoleParams_Get_makeDegenerateBand().

◆ maxPolygonSubdivisions()

int meshlib.FillHoleParams.maxPolygonSubdivisions ( )

The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger

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

Calls MR_FillHoleParams_Get_maxPolygonSubdivisions().

◆ metric()

meshlib.FillHoleMetric meshlib.FillHoleParams.metric ( )

Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric

See also
FillHoleMetric

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

Calls MR_FillHoleParams_Get_metric().

◆ multipleEdgesResolveMode()

meshlib.FillHoleParams_MultipleEdgesResolveMode meshlib.FillHoleParams.multipleEdgesResolveMode ( )

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

Calls MR_FillHoleParams_Get_multipleEdgesResolveMode().

◆ outNewFaces()

java.lang.foreign.MemorySegment meshlib.FillHoleParams.outNewFaces ( )

If not nullptr accumulate new faces Returns a pointer to a member variable of class MR::FillHoleParams named outNewFaces. The reference to this object might be preserved as the return value.

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

◆ setMakeDegenerateBand()

void meshlib.FillHoleParams.setMakeDegenerateBand ( boolean value)

If true creates degenerate faces band around hole to have sharp angle visualization

Warning
This flag bad for result topology, most likely you do not need it

Modifies a member variable of class MR::FillHoleParams named makeDegenerateBand.

Calls MR_FillHoleParams_Set_makeDegenerateBand().

◆ setMaxPolygonSubdivisions()

void meshlib.FillHoleParams.setMaxPolygonSubdivisions ( int value)

The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger

Modifies a member variable of class MR::FillHoleParams named maxPolygonSubdivisions.

Calls MR_FillHoleParams_Set_maxPolygonSubdivisions().

◆ setMetric()

void meshlib.FillHoleParams.setMetric ( meshlib.FillHoleMetric value)

Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric

See also
FillHoleMetric

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

Calls MR_FillHoleParams_Set_metric().

◆ setMultipleEdgesResolveMode()

void meshlib.FillHoleParams.setMultipleEdgesResolveMode ( meshlib.FillHoleParams_MultipleEdgesResolveMode value)

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

Calls MR_FillHoleParams_Set_multipleEdgesResolveMode().

◆ setOutNewFaces()

void meshlib.FillHoleParams.setOutNewFaces ( meshlib.FaceBitSet value)

If not nullptr accumulate new faces Modifies a member variable of class MR::FillHoleParams named outNewFaces. The reference to the parameter value might be preserved in this object in element outNewFaces.

Calls MR_FillHoleParams_Set_outNewFaces().

◆ setSmoothBd()

void meshlib.FillHoleParams.setSmoothBd ( boolean value)

If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.

Modifies a member variable of class MR::FillHoleParams named smoothBd.

Calls MR_FillHoleParams_Set_smoothBd().

◆ setStopBeforeBadTriangulation()

void meshlib.FillHoleParams.setStopBeforeBadTriangulation ( meshlib.bool_output value)

Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)

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

Calls MR_FillHoleParams_Set_stopBeforeBadTriangulation().

◆ smoothBd()

boolean meshlib.FillHoleParams.smoothBd ( )

If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.

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

Calls MR_FillHoleParams_Get_smoothBd().

◆ stopBeforeBadTriangulation()

java.lang.foreign.MemorySegment meshlib.FillHoleParams.stopBeforeBadTriangulation ( )

Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)

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

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


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