MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FillingSurface.CellularSurface.Params Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, FillingSurface.CellularSurface.Params arg0)
 
None __init__ (self, FillingSurface.CellularSurface.Type type, Vector3f period, Vector3f width, float r, bool highRes, bool preserveTips)
 
bool highRes (self)
 
None highRes (self, bool arg1)
 
Vector3f period (self)
 
None period (self, Vector3f 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, Vector3f arg1)
 

Static Public Member Functions

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

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__() [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.Params arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

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

Member Function Documentation

◆ 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

◆ highRes() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.highRes ( self,
bool arg1 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ period() [1/2]

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

◆ period() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.period ( self,
Vector3f arg1 )

◆ 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.

◆ preserveTips() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.preserveTips ( self,
bool arg1 )

◆ r() [1/2]

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

◆ r() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.r ( self,
float arg1 )

◆ type() [1/2]

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

◆ type() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.type ( self,
FillingSurface.CellularSurface.Type arg1 )

◆ width() [1/2]

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

◆ width() [2/2]

None mrmeshpy.FillingSurface.CellularSurface.Params.width ( self,
Vector3f arg1 )

Member Data Documentation

◆ _offsetof_highRes

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

◆ _offsetof_period

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

◆ _offsetof_preserveTips

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

◆ _offsetof_r

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

◆ _offsetof_type

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

◆ _offsetof_width

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

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