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) | |
| 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.
| meshlib.FillHoleParams.FillHoleParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_FillHoleParams_DefaultConstruct().
| 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().
| 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().
| 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().
| boolean meshlib.FillHoleParams.makeDegenerateBand | ( | ) |
If true creates degenerate faces band around hole to have sharp angle visualization
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().
| 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().
| meshlib.FillHoleMetric meshlib.FillHoleParams.metric | ( | ) |
Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric
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().
| 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().
| 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.
| void meshlib.FillHoleParams.setMakeDegenerateBand | ( | boolean | value | ) |
If true creates degenerate faces band around hole to have sharp angle visualization
Modifies a member variable of class MR::FillHoleParams named makeDegenerateBand.
Calls MR_FillHoleParams_Set_makeDegenerateBand().
| 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().
| void meshlib.FillHoleParams.setMetric | ( | meshlib.FillHoleMetric | value | ) |
Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric
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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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.