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

Public Member Functions

None __init__ (self)
None __init__ (self, FillingSurface.CellularSurface.ConstParams arg0)
None __init__ (self, FillingSurface.CellularSurface.Type type, ConstVector3f period, ConstVector3f width, float r, bool highRes, bool preserveTips)
FillingSurface.CellularSurface.Params assign (self, FillingSurface.CellularSurface.ConstParams other)
bool highRes (self)
None highRes (self, bool arg1)
Vector3f period (self)
None period (self, ConstVector3f arg1)
bool preserveTips (self)
None preserveTips (self, bool arg1)
float r (self)
None r (self, float arg1)
FillingSurface.CellularSurface.Type type (self)
None type (self, FillingSurface.CellularSurface.Type arg1)
Vector3f width (self)
None width (self, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.FillingSurface.CellularSurface.ConstParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.FillingSurface.CellularSurface.ConstParams
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__() [1/4]

None mrmeshpy.FillingSurface.CellularSurface.Params.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.FillingSurface.CellularSurface.Params.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.FillingSurface.CellularSurface.Params.__init__ ( self,
FillingSurface.CellularSurface.ConstParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.FillingSurface.CellularSurface.Params.__init__ ( self,
FillingSurface.CellularSurface.Type type,
ConstVector3f period,
ConstVector3f width,
float r,
bool highRes,
bool preserveTips )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

FillingSurface.CellularSurface.Params mrmeshpy.FillingSurface.CellularSurface.Params.assign ( self,
FillingSurface.CellularSurface.ConstParams other )

◆ highRes() [1/2]

bool mrmeshpy.FillingSurface.CellularSurface.Params.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 from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ highRes() [2/2]

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

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ period() [1/2]

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

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ period() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.period ( self,
ConstVector3f arg1 )
the distance between consecutive cylinders in each direction

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ preserveTips() [1/2]

bool mrmeshpy.FillingSurface.CellularSurface.Params.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 from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ preserveTips() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.preserveTips ( self,
bool arg1 )
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 from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ r() [1/2]

float mrmeshpy.FillingSurface.CellularSurface.Params.r ( self)
the radius of uniting spheres

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ r() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.r ( self,
float arg1 )
the radius of uniting spheres

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ type() [1/2]

FillingSurface.CellularSurface.Type mrmeshpy.FillingSurface.CellularSurface.Params.type ( self)
the type of the base element

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ type() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.type ( self,
FillingSurface.CellularSurface.Type arg1 )
the type of the base element

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ width() [1/2]

Vector3f mrmeshpy.FillingSurface.CellularSurface.Params.width ( self)
the width of cylinders in each direction

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.

◆ width() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.width ( self,
ConstVector3f arg1 )
the width of cylinders in each direction

Reimplemented from mrmeshpy.FillingSurface.CellularSurface.ConstParams.


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