MeshLib JavaScript Docs
Loading...
Searching...
No Matches

Parameters structure for MR::fillHole Structure has some options to control MR::fillHole. More...

Public Member Functions

 FillHoleParams ()

Public Attributes

boolean smoothBd
MultipleEdgesResolveMode multipleEdgesResolveMode
boolean makeDegenerateBand
number maxPolygonSubdivisions
FillHoleMetric metric

Detailed Description

Parameters structure for MR::fillHole Structure has some options to control MR::fillHole.

See also
fillHole
FillHoleMetric

Constructor & Destructor Documentation

◆ FillHoleParams()

FillHoleParams::FillHoleParams ( )

Member Data Documentation

◆ makeDegenerateBand

boolean 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

◆ maxPolygonSubdivisions

number FillHoleParams::maxPolygonSubdivisions

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

◆ metric

FillHoleMetric FillHoleParams::metric

Specifies triangulation metric default for MR::fillHole: getCircumscribedFillMetric

See also
FillHoleMetric

◆ multipleEdgesResolveMode

MultipleEdgesResolveMode FillHoleParams::multipleEdgesResolveMode

◆ smoothBd

boolean 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.


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