MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstTriangulationParameters Class Reference
Inheritance diagram for mrmeshpy.ConstTriangulationParameters:

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

Detailed Description

Generated from:  MR::TriangulationParameters

\\brief Parameters of point cloud triangulation
\\sa \\ref triangulatePointCloud

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ automaticRadiusIncrease()

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.

◆ boundaryAngle()

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.

◆ critAngle()

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.

◆ critHoleLength()

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.

◆ numNeighbours()

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.

◆ radius()

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.

◆ searchNeighbors()

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.

Member Data Documentation

◆ _offsetof_automaticRadiusIncrease

typing mrmeshpy.ConstTriangulationParameters._offsetof_automaticRadiusIncrease = 20
staticprotected

◆ _offsetof_boundaryAngle

typing mrmeshpy.ConstTriangulationParameters._offsetof_boundaryAngle = 12
staticprotected

◆ _offsetof_critAngle

typing mrmeshpy.ConstTriangulationParameters._offsetof_critAngle = 8
staticprotected

◆ _offsetof_critHoleLength

typing mrmeshpy.ConstTriangulationParameters._offsetof_critHoleLength = 16
staticprotected

◆ _offsetof_numNeighbours

typing mrmeshpy.ConstTriangulationParameters._offsetof_numNeighbours = 0
staticprotected

◆ _offsetof_radius

typing mrmeshpy.ConstTriangulationParameters._offsetof_radius = 4
staticprotected

◆ _offsetof_searchNeighbors

typing mrmeshpy.ConstTriangulationParameters._offsetof_searchNeighbors = 24
staticprotected

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