◆ build()
Build a cellular surface of size \\p size
◆ estimateDensity()
| float mrmeshpy.FillingSurface.CellularSurface.estimateDensity |
( |
float | period, |
|
|
float | width, |
|
|
float | r ) |
|
static |
Estimate the density of the cellular surface
◆ estimateWidth()
| float mrmeshpy.FillingSurface.CellularSurface.estimateWidth |
( |
float | period, |
|
|
float | r, |
|
|
float | targetDensity ) |
|
static |
Estimate the width that is needed to attain the \\p targetDensity. Inverse of \\ref estimateDensity.
\\note The width is not unique in general, no guarantees are made about which value among possible will be returned.
Due to the simplification of the formula (sphere must either fully contain the intersection of cylinders or be inside it), solution not always exists.
◆ fill()
Fill given mesh with a cellular surface
The documentation for this class was generated from the following file: