Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::FillHoleParams > |
| static auto | construct_from (metric:&meshlib::FillHoleMetric, smoothBd:bool, outNewFaces:Option<&mut meshlib::FaceBitSet >, multipleEdgesResolveMode:meshlib::FillHoleParams_MultipleEdgesResolveMode, makeDegenerateBand:bool, maxPolygonSubdivisions:core::ffi::c_int, stopBeforeBadTriangulation:Option<&mut bool >) -> meshlib::Owned< meshlib::FillHoleParams > |
| static auto | construct_from_another (_other:&meshlib::FillHoleParams) -> meshlib::Owned< meshlib::FillHoleParams > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
| auto meshlib::FillHoleParams::assign_from_another | ( | _other:&meshlib::FillHoleParams | ) | -> &mut meshlib::FillHoleParams |
Generated from method MR::FillHoleParams::operator=.
Calls MR_FillHoleParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::FillHoleParams elementwise.
Calls MR_FillHoleParams_ConstructFrom(). 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.
|
static |
Generated from constructor MR::FillHoleParams::FillHoleParams.
Calls MR_FillHoleParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::FillHoleParams::make_degenerate_band | ( | ) | const -> &bool |
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.
Calls MR_FillHoleParams_Get_makeDegenerateBand(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::make_degenerate_band_mut | ( | ) | -> &mut bool |
If true creates degenerate faces band around hole to have sharp angle visualization
Returns a mutable pointer to a member variable of class MR::FillHoleParams named makeDegenerateBand.
Calls MR_FillHoleParams_GetMutable_makeDegenerateBand(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::max_polygon_subdivisions | ( | ) | const -> &core::ffi::c_int |
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.
Calls MR_FillHoleParams_Get_maxPolygonSubdivisions(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::max_polygon_subdivisions_mut | ( | ) | -> &mut core::ffi::c_int |
The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger
Returns a mutable pointer to a member variable of class MR::FillHoleParams named maxPolygonSubdivisions.
Calls MR_FillHoleParams_GetMutable_maxPolygonSubdivisions(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::metric | ( | ) | const -> &meshlib::FillHoleMetric |
Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric
Returns a pointer to a member variable of class MR::FillHoleParams named metric.
Calls MR_FillHoleParams_Get_metric(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::metric_mut | ( | ) | -> &mut meshlib::FillHoleMetric |
Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric
Returns a mutable pointer to a member variable of class MR::FillHoleParams named metric.
Calls MR_FillHoleParams_GetMutable_metric(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::multiple_edges_resolve_mode | ( | ) | const -> &meshlib::FillHoleParams_MultipleEdgesResolveMode |
Returns a pointer to a member variable of class MR::FillHoleParams named multipleEdgesResolveMode.
Calls MR_FillHoleParams_Get_multipleEdgesResolveMode(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::multiple_edges_resolve_mode_mut | ( | ) | -> &mut meshlib::FillHoleParams_MultipleEdgesResolveMode |
Returns a mutable pointer to a member variable of class MR::FillHoleParams named multipleEdgesResolveMode.
Calls MR_FillHoleParams_GetMutable_multipleEdgesResolveMode(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_FillHoleParams_DefaultConstruct().
| auto meshlib::FillHoleParams::out_new_faces | ( | ) | const -> *const *mut meshlib::ffi::MR_FaceBitSet |
If not nullptr accumulate new faces Returns a pointer to a member variable of class MR::FillHoleParams named outNewFaces.
Calls MR_FillHoleParams_Get_outNewFaces(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::out_new_faces_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_FaceBitSet |
If not nullptr accumulate new faces Returns a mutable pointer to a member variable of class MR::FillHoleParams named outNewFaces.
Calls MR_FillHoleParams_GetMutable_outNewFaces(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::FillHoleParams::set_make_degenerate_band | ( | value:bool | ) |
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::set_max_polygon_subdivisions | ( | value:core::ffi::c_int | ) |
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::set_metric | ( | value:&meshlib::FillHoleMetric | ) |
Specifies triangulation metric
default for MR::fillHole: getCircumscribedFillMetric
Modifies a member variable of class MR::FillHoleParams named metric.
Calls MR_FillHoleParams_Set_metric(). The reference to the parameter value might be preserved in this object in element metric.
| void meshlib::FillHoleParams::set_multiple_edges_resolve_mode | ( | value:meshlib::FillHoleParams_MultipleEdgesResolveMode | ) |
Modifies a member variable of class MR::FillHoleParams named multipleEdgesResolveMode.
Calls MR_FillHoleParams_Set_multipleEdgesResolveMode(). The reference to the parameter value might be preserved in this object in element multipleEdgesResolveMode.
| void meshlib::FillHoleParams::set_out_new_faces | ( | value:Option<&mut meshlib::FaceBitSet > | ) |
If not nullptr accumulate new faces Modifies a member variable of class MR::FillHoleParams named outNewFaces.
Calls MR_FillHoleParams_Set_outNewFaces(). The reference to the parameter value might be preserved in this object in element outNewFaces.
| void meshlib::FillHoleParams::set_smooth_bd | ( | value:bool | ) |
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::set_stop_before_bad_triangulation | ( | value:Option<&mut bool > | ) |
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.
Calls MR_FillHoleParams_Set_stopBeforeBadTriangulation(). The reference to the parameter value might be preserved in this object in element stopBeforeBadTriangulation.
| auto meshlib::FillHoleParams::smooth_bd | ( | ) | const -> &bool |
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.
Calls MR_FillHoleParams_Get_smoothBd(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::smooth_bd_mut | ( | ) | -> &mut bool |
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 mutable pointer to a member variable of class MR::FillHoleParams named smoothBd.
Calls MR_FillHoleParams_GetMutable_smoothBd(). The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::stop_before_bad_triangulation | ( | ) | const -> *const *mut bool |
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.
Calls MR_FillHoleParams_Get_stopBeforeBadTriangulation(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::FillHoleParams::stop_before_bad_triangulation_mut | ( | ) | -> *mut *mut bool |
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 mutable pointer to a member variable of class MR::FillHoleParams named stopBeforeBadTriangulation.
Calls MR_FillHoleParams_GetMutable_stopBeforeBadTriangulation(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.