Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | automaticRadiusIncrease (self) |
| float | boundaryAngle (self) |
| float | critAngle (self) |
| float | critHoleLength (self) |
| int | numNeighbours (self) |
| float | radius (self) |
| PointCloud | searchNeighbors (self) |
Static Protected Attributes | |
| typing | _offsetof_automaticRadiusIncrease = 20 |
| typing | _offsetof_boundaryAngle = 12 |
| typing | _offsetof_critAngle = 8 |
| typing | _offsetof_critHoleLength = 16 |
| typing | _offsetof_numNeighbours = 0 |
| typing | _offsetof_radius = 4 |
| typing | _offsetof_searchNeighbors = 24 |
Generated from: MR::TriangulationParameters \\brief Parameters of point cloud triangulation \\sa \\ref triangulatePointCloud
| mrmeshpy.ConstTriangulationParameters.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstTriangulationParameters) -> None 2. __init__(self: meshlib.mrmeshpy.ConstTriangulationParameters, arg0: meshlib.mrmeshpy.ConstTriangulationParameters) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstTriangulationParameters, numNeighbours: int, radius: float, critAngle: float, boundaryAngle: float, critHoleLength: float, automaticRadiusIncrease: bool, searchNeighbors: meshlib.mrmeshpy.ConstPointCloud) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstTriangulationParameters, : meshlib.mrmeshpy.ConstTriangulationParameters) -> None
| bool mrmeshpy.ConstTriangulationParameters.automaticRadiusIncrease | ( | self | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| float mrmeshpy.ConstTriangulationParameters.boundaryAngle | ( | self | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| float mrmeshpy.ConstTriangulationParameters.critAngle | ( | self | ) |
\\brief Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) <table border=0> <caption id="TriangulationParameters::critAngle_examples"></caption> <tr> <td> \\image html triangulate/triangulate_3.png "Good" width = 350cm </td> <td> \\image html triangulate/triangulate_4.png "Too small value" width = 350cm </td> </tr> </table>
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| float mrmeshpy.ConstTriangulationParameters.critHoleLength | ( | self | ) |
\\brief Critical length of hole (all holes with perimeter up to this value will be filled) \\details If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| int mrmeshpy.ConstTriangulationParameters.numNeighbours | ( | self | ) |
\\brief The number of nearest neighbor points to use for building of local triangulation \\note Too small value can make not optimal triangulation and additional holes\\n Too big value increases difficulty of optimization and decreases performance <table border=0> <caption id="TriangulationParameters::numNeighbours_examples"></caption> <tr> <td> \\image html triangulate/triangulate_3.png "Good" width = 350cm </td> <td> \\image html triangulate/triangulate_2.png "Too small value" width = 350cm </td> </tr> </table>
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| float mrmeshpy.ConstTriangulationParameters.radius | ( | self | ) |
Radius of neighborhood around each point to consider for building local triangulation. This is an alternative to numNeighbours parameter. Please set to positive value only one of them.
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
| PointCloud mrmeshpy.ConstTriangulationParameters.searchNeighbors | ( | self | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)
Reimplemented in mrmeshpy.TriangulationParameters, and mrmeshpy.TriangulationParameters.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |