TriangleGenerator Class¶
- class plask.mesh.TriangleGenerator¶
Generator which creates triangular mesh by Triangle library authored by Jonathan Richard Shewchuk.
Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations,conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes. The latter can be generated with no small or large angles,and are thus suitable for finite element analysis.
Methods¶
|
Generate mesh for given geometry object or load it from the cache. |
Clear cache of generated meshes |
|
|
Generate mesh for given geometry object omitting the cache. |
Attributes¶
Include whole bounding box of the geometry? |
|
Maximum element area constraint |
|
Minimum angle in each element triangle |
Descriptions¶
Method Details¶
- TriangleGenerator.__call__(geometry)¶
- TriangleGenerator.__call__(object)
Generate mesh for given geometry object or load it from the cache.
- Parameters:
geometry – Geometry to generate mesh at.
object – Geometry object to generate mesh at.
- TriangleGenerator.clear_cache()¶
Clear cache of generated meshes
- TriangleGenerator.generate(geometry)¶
- TriangleGenerator.generate(object)
Generate mesh for given geometry object omitting the cache.
- Parameters:
geometry – Geometry to generate mesh at.
object – Geometry object to generate mesh at.
Attribute Details¶
- TriangleGenerator.full = <property object>¶
Include whole bounding box of the geometry?
- TriangleGenerator.max_area = <property object>¶
Maximum element area constraint
- TriangleGenerator.min_angle = <property object>¶
Minimum angle in each element triangle