MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstCutAroundVertSetsParams Class Reference
Inheritance diagram for mrmeshpy.ConstCutAroundVertSetsParams:

Public Member Functions

 __init__ (self, *args, **kwargs)
float distance (self)
float gap (self)

Static Protected Attributes

typing _offsetof_distance = 0
typing _offsetof_gap = 4

Detailed Description

Generated from:  MR::CutAroundVertSetsParams

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ distance()

float mrmeshpy.ConstCutAroundVertSetsParams.distance ( self)
the mesh is cut along the isolines of surface distance equal to this value around each vertex set

Reimplemented in mrmeshpy.CutAroundVertSetsParams, and mrmeshpy.CutAroundVertSetsParams.

◆ gap()

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.

Member Data Documentation

◆ _offsetof_distance

typing mrmeshpy.ConstCutAroundVertSetsParams._offsetof_distance = 0
staticprotected

◆ _offsetof_gap

typing mrmeshpy.ConstCutAroundVertSetsParams._offsetof_gap = 4
staticprotected

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