MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.TriangulationParameters Class Reference

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)
 

Detailed Description

Generated from:  MR::TriangulationParameters


 \\brief Parameters of point cloud triangulation
 \\ingroup PointCloudTriangulationGroup

 \\sa \\ref triangulatePointCloud

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.TriangulationParameters.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None mrmeshpy.TriangulationParameters.__init__ ( self,
TriangulationParameters arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None mrmeshpy.TriangulationParameters.__init__ ( self,
int numNeighbours,
float radius,
float critAngle,
float boundaryAngle,
float critHoleLength,
bool automaticRadiusIncrease,
PointCloud searchNeighbors )
Implicit aggregate constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.TriangulationParameters._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ automaticRadiusIncrease() [1/2]

bool mrmeshpy.TriangulationParameters.automaticRadiusIncrease ( self)
automatic increase of the radius if points outside can make triangles from original radius not-Delone

◆ automaticRadiusIncrease() [2/2]

None mrmeshpy.TriangulationParameters.automaticRadiusIncrease ( self,
bool arg1 )

◆ boundaryAngle() [1/2]

float mrmeshpy.TriangulationParameters.boundaryAngle ( self)
the vertex is considered as boundary if its neighbor ring has angle more than this value

◆ boundaryAngle() [2/2]

None mrmeshpy.TriangulationParameters.boundaryAngle ( self,
float arg1 )

◆ critAngle() [1/2]

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>

◆ critAngle() [2/2]

None mrmeshpy.TriangulationParameters.critAngle ( self,
float arg1 )

◆ critHoleLength() [1/2]

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()

◆ critHoleLength() [2/2]

None mrmeshpy.TriangulationParameters.critHoleLength ( self,
float arg1 )

◆ numNeighbours() [1/2]

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>

◆ numNeighbours() [2/2]

None mrmeshpy.TriangulationParameters.numNeighbours ( self,
int arg1 )

◆ radius() [1/2]

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.

◆ radius() [2/2]

None mrmeshpy.TriangulationParameters.radius ( self,
float arg1 )

◆ searchNeighbors() [1/2]

PointCloud mrmeshpy.TriangulationParameters.searchNeighbors ( self)
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints)

◆ searchNeighbors() [2/2]

None mrmeshpy.TriangulationParameters.searchNeighbors ( self,
PointCloud arg1 )

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