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 |
Generated from: MR::FillingSurface::CellularSurface::Params
| 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
| 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.
| 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.
| 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.
| float mrmeshpy.FillingSurface.CellularSurface.ConstParams.r | ( | self | ) |
the radius of uniting spheres
Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.
| FillingSurface.CellularSurface.Type mrmeshpy.FillingSurface.CellularSurface.ConstParams.type | ( | self | ) |
the type of the base element
Reimplemented in mrmeshpy.FillingSurface.CellularSurface.Params, and mrmeshpy.FillingSurface.CellularSurface.Params.
| 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.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |