Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, TriangulationParameters arg0) |
None | __init__ (self, int numNeighbours, float radius, float critAngle, float boundaryAngle, float critHoleLength, bool automaticRadiusIncrease, PointCloud searchNeighbors) |
bool | automaticRadiusIncrease (self) |
None | automaticRadiusIncrease (self, bool arg1) |
float | boundaryAngle (self) |
None | boundaryAngle (self, float arg1) |
float | critAngle (self) |
None | critAngle (self, float arg1) |
float | critHoleLength (self) |
None | critHoleLength (self, float arg1) |
int | numNeighbours (self) |
None | numNeighbours (self, int arg1) |
float | radius (self) |
None | radius (self, float arg1) |
PointCloud | searchNeighbors (self) |
None | searchNeighbors (self, PointCloud arg1) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::TriangulationParameters \\brief Parameters of point cloud triangulation \\ingroup PointCloudTriangulationGroup \\sa \\ref triangulatePointCloud
None mrmeshpy.TriangulationParameters.__init__ | ( | self | ) |
Implicit default constructor.
None mrmeshpy.TriangulationParameters.__init__ | ( | self, | |
TriangulationParameters | arg0 ) |
Implicit copy constructor.
None mrmeshpy.TriangulationParameters.__init__ | ( | self, | |
int | numNeighbours, | ||
float | radius, | ||
float | critAngle, | ||
float | boundaryAngle, | ||
float | critHoleLength, | ||
bool | automaticRadiusIncrease, | ||
PointCloud | searchNeighbors ) |
Implicit aggregate constructor.
|
staticprotected |
bool mrmeshpy.TriangulationParameters.automaticRadiusIncrease | ( | self | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone
None mrmeshpy.TriangulationParameters.automaticRadiusIncrease | ( | self, | |
bool | arg1 ) |
float mrmeshpy.TriangulationParameters.boundaryAngle | ( | self | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value
None mrmeshpy.TriangulationParameters.boundaryAngle | ( | self, | |
float | arg1 ) |
float mrmeshpy.TriangulationParameters.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>
None mrmeshpy.TriangulationParameters.critAngle | ( | self, | |
float | arg1 ) |
float mrmeshpy.TriangulationParameters.critHoleLength | ( | self | ) |
\\brief Critical length of hole (all holes with length less then this value will be filled) \\details If value is subzero it is set automaticly to 0.7*bbox.diagonal()
None mrmeshpy.TriangulationParameters.critHoleLength | ( | self, | |
float | arg1 ) |
int mrmeshpy.TriangulationParameters.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>
None mrmeshpy.TriangulationParameters.numNeighbours | ( | self, | |
int | arg1 ) |
float mrmeshpy.TriangulationParameters.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.
None mrmeshpy.TriangulationParameters.radius | ( | self, | |
float | arg1 ) |
PointCloud mrmeshpy.TriangulationParameters.searchNeighbors | ( | self | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)
None mrmeshpy.TriangulationParameters.searchNeighbors | ( | self, | |
PointCloud | arg1 ) |