Parameters of point cloud triangulation. More...
Public Member Functions | |
| TriangulationParameters (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| TriangulationParameters () | |
| TriangulationParameters (int numNeighbours, float radius, float critAngle, float boundaryAngle, float critHoleLength, boolean automaticRadiusIncrease, meshlib.PointCloud searchNeighbors) | |
| TriangulationParameters (meshlib.TriangulationParameters _other) | |
| meshlib.TriangulationParameters | assignFromAnother (meshlib.TriangulationParameters _other) |
| int | numNeighbours () |
| The number of nearest neighbor points to use for building of local triangulation. | |
| void | setNumNeighbours (int value) |
| The number of nearest neighbor points to use for building of local triangulation. | |
| float | radius () |
| void | setRadius (float value) |
| float | critAngle () |
| Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) | |
| void | setCritAngle (float value) |
| Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value) | |
| float | boundaryAngle () |
| void | setBoundaryAngle (float value) |
| float | critHoleLength () |
| Critical length of hole (all holes with perimeter up to this value will be filled) | |
| void | setCritHoleLength (float value) |
| Critical length of hole (all holes with perimeter up to this value will be filled) | |
| boolean | automaticRadiusIncrease () |
| void | setAutomaticRadiusIncrease (boolean value) |
| java.lang.foreign.MemorySegment | searchNeighbors () |
| void | setSearchNeighbors (meshlib.PointCloud value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Parameters of point cloud triangulation.
Generated from class MR::TriangulationParameters.
Instances created here own their C++ objects, see CppObject.
| meshlib.TriangulationParameters.TriangulationParameters | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.TriangulationParameters.TriangulationParameters | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_TriangulationParameters_DefaultConstruct().
| meshlib.TriangulationParameters.TriangulationParameters | ( | int | numNeighbours, |
| float | radius, | ||
| float | critAngle, | ||
| float | boundaryAngle, | ||
| float | critHoleLength, | ||
| boolean | automaticRadiusIncrease, | ||
| meshlib.PointCloud | searchNeighbors ) |
Constructs MR::TriangulationParameters elementwise. The reference to the parameter searchNeighbors might be preserved in the constructed object.
Calls MR_TriangulationParameters_ConstructFrom().
| meshlib.TriangulationParameters.TriangulationParameters | ( | meshlib.TriangulationParameters | _other | ) |
Generated from constructor MR::TriangulationParameters::TriangulationParameters. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_TriangulationParameters_ConstructFromAnother().
| meshlib.TriangulationParameters meshlib.TriangulationParameters.assignFromAnother | ( | meshlib.TriangulationParameters | _other | ) |
Generated from method MR::TriangulationParameters::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_TriangulationParameters_AssignFromAnother().
| boolean meshlib.TriangulationParameters.automaticRadiusIncrease | ( | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Returns a pointer to a member variable of class MR::TriangulationParameters named automaticRadiusIncrease. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_automaticRadiusIncrease().
| float meshlib.TriangulationParameters.boundaryAngle | ( | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Returns a pointer to a member variable of class MR::TriangulationParameters named boundaryAngle. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_boundaryAngle().
| float meshlib.TriangulationParameters.critAngle | ( | ) |
Critical angle of triangles in local triangulation (angle between triangles in fan should be less then this value)
Good |
Too small value |
Returns a pointer to a member variable of class MR::TriangulationParameters named critAngle. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_critAngle().
| float meshlib.TriangulationParameters.critHoleLength | ( | ) |
Critical length of hole (all holes with perimeter up to this value will be filled)
If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Returns a pointer to a member variable of class MR::TriangulationParameters named critHoleLength. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_critHoleLength().
| int meshlib.TriangulationParameters.numNeighbours | ( | ) |
The number of nearest neighbor points to use for building of local triangulation.
Good |
Too small value |
Returns a pointer to a member variable of class MR::TriangulationParameters named numNeighbours. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_numNeighbours().
| float meshlib.TriangulationParameters.radius | ( | ) |
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.
Returns a pointer to a member variable of class MR::TriangulationParameters named radius. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_radius().
| java.lang.foreign.MemorySegment meshlib.TriangulationParameters.searchNeighbors | ( | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Returns a pointer to a member variable of class MR::TriangulationParameters named searchNeighbors. The reference to this object might be preserved as the return value.
Calls MR_TriangulationParameters_Get_searchNeighbors(). Some types are raw C types, see the C bindings for the details.
| void meshlib.TriangulationParameters.setAutomaticRadiusIncrease | ( | boolean | value | ) |
automatic increase of the radius if points outside can make triangles from original radius not-Delone Modifies a member variable of class MR::TriangulationParameters named automaticRadiusIncrease.
Calls MR_TriangulationParameters_Set_automaticRadiusIncrease().
| void meshlib.TriangulationParameters.setBoundaryAngle | ( | float | value | ) |
the vertex is considered as boundary if its neighbor ring has angle more than this value Modifies a member variable of class MR::TriangulationParameters named boundaryAngle.
Calls MR_TriangulationParameters_Set_boundaryAngle().
| void meshlib.TriangulationParameters.setCritAngle | ( | float | value | ) |
| void meshlib.TriangulationParameters.setCritHoleLength | ( | float | value | ) |
Critical length of hole (all holes with perimeter up to this value will be filled)
If value is negative, it is set automatically to 0.1 * (bounding box diagonal of the point cloud)
Modifies a member variable of class MR::TriangulationParameters named critHoleLength.
Calls MR_TriangulationParameters_Set_critHoleLength().
| void meshlib.TriangulationParameters.setNumNeighbours | ( | int | value | ) |
The number of nearest neighbor points to use for building of local triangulation.
Good |
Too small value |
Modifies a member variable of class MR::TriangulationParameters named numNeighbours.
Calls MR_TriangulationParameters_Set_numNeighbours().
| void meshlib.TriangulationParameters.setRadius | ( | float | value | ) |
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.
Modifies a member variable of class MR::TriangulationParameters named radius.
Calls MR_TriangulationParameters_Set_radius().
| void meshlib.TriangulationParameters.setSearchNeighbors | ( | meshlib.PointCloud | value | ) |
optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Modifies a member variable of class MR::TriangulationParameters named searchNeighbors. The reference to the parameter value might be preserved in this object in element searchNeighbors.
Calls MR_TriangulationParameters_Set_searchNeighbors().