MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FillingSurface.CellularSurface.ConstParams Class Reference
Inheritance diagram for mrmeshpy.FillingSurface.CellularSurface.ConstParams:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool highRes (self)
ConstVector3f period (self)
bool preserveTips (self)
float r (self)
FillingSurface.CellularSurface.Type type (self)
ConstVector3f width (self)

Static Protected Attributes

typing _offsetof_highRes = 32
typing _offsetof_period = 4
typing _offsetof_preserveTips = 33
typing _offsetof_r = 28
typing _offsetof_type = 0
typing _offsetof_width = 16

Detailed Description

Generated from:  MR::FillingSurface::CellularSurface::Params

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.FillingSurface.CellularSurface.ConstParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams) -> None

2. __init__(self: meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams, arg0: meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams, type: meshlib.mrmeshpy.FillingSurface.CellularSurface.Type, period: meshlib.mrmeshpy.ConstVector3f, width: meshlib.mrmeshpy.ConstVector3f, r: float, highRes: bool, preserveTips: bool) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams, : meshlib.mrmeshpy.FillingSurface.CellularSurface.ConstParams) -> None

Member Function Documentation

◆ highRes()

bool mrmeshpy.FillingSurface.CellularSurface.ConstParams.highRes ( self)
used in tests in order to make surfaces close to their analytical expression
recommended to be false for real usage for better performance

Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.

◆ period()

ConstVector3f mrmeshpy.FillingSurface.CellularSurface.ConstParams.period ( self)
the distance between consecutive cylinders in each direction

Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.

◆ preserveTips()

bool mrmeshpy.FillingSurface.CellularSurface.ConstParams.preserveTips ( self)
Used in tests for roughly the same purpose: the computations of density estimation are made under the assumption of an infinite surface.
Thus, we must impose "boundary conditions" that inflict the "tips" of the bars (cylinders or cubes) to be preserved on the boundary of the
generated filling surface. However, for the aesthetic reasons, it was requested that the tips must be cut in the UI. And here comes this flag.
Note that for the estimation of density in UI the influence of "tips" is not significant (it tends to zero with growing size), however
we cannot afford to run tests on too big surfaces as it takes too long.

Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.

◆ r()

float mrmeshpy.FillingSurface.CellularSurface.ConstParams.r ( self)

◆ type()

FillingSurface.CellularSurface.Type mrmeshpy.FillingSurface.CellularSurface.ConstParams.type ( self)

◆ width()

ConstVector3f mrmeshpy.FillingSurface.CellularSurface.ConstParams.width ( self)
the width of cylinders in each direction

Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.

Member Data Documentation

◆ _offsetof_highRes

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_highRes = 32
staticprotected

◆ _offsetof_period

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_period = 4
staticprotected

◆ _offsetof_preserveTips

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_preserveTips = 33
staticprotected

◆ _offsetof_r

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_r = 28
staticprotected

◆ _offsetof_type

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_type = 0
staticprotected

◆ _offsetof_width

typing mrmeshpy.FillingSurface.CellularSurface.ConstParams._offsetof_width = 16
staticprotected

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