Generated from: MR::CutAroundVertSetsParams
| mrmeshpy.ConstCutAroundVertSetsParams.__init__ |
( |
| self, |
|
|
* | args, |
|
|
** | kwargs ) |
__init__(*args, **kwargs)
Overloaded function.
1. __init__(self: meshlib.mrmeshpy.ConstCutAroundVertSetsParams) -> None
2. __init__(self: meshlib.mrmeshpy.ConstCutAroundVertSetsParams, arg0: meshlib.mrmeshpy.ConstCutAroundVertSetsParams) -> None
Implicit copy constructor.
3. __init__(self: meshlib.mrmeshpy.ConstCutAroundVertSetsParams, distance: float, gap: float) -> None
Implicit aggregate constructor.
4. __init__(self: meshlib.mrmeshpy.ConstCutAroundVertSetsParams, : meshlib.mrmeshpy.ConstCutAroundVertSetsParams) -> None
| float mrmeshpy.ConstCutAroundVertSetsParams.gap |
( |
| self | ) |
|
keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap):
in the vertices where the sum of two distance fields is less than (2*distance + gap),
both values are scaled proportionally to make the sum exactly (2*distance + gap);
so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap);
must be positive, otherwise the isolines of two close sets coincide
Reimplemented in mrmeshpy.CutAroundVertSetsParams, and mrmeshpy.CutAroundVertSetsParams.