|
| MRMESH_API std::optional< AllLocalTriangulations > | MR::uniteLocalTriangulations (const std::vector< SomeLocalTriangulations > &in, const ProgressCallback &progress={}) |
| |
| MRMESH_API Vector3f | MR::computeNormal (const AllLocalTriangulations &triangs, const VertCoords &points, VertId v) |
| | compute normal at point by averaging neighbor triangle normals weighted by triangle's angle at the point
|
| |
| MRMESH_API void | MR::orientLocalTriangulations (AllLocalTriangulations &triangs, const VertCoords &coords, const VertBitSet ®ion, const VertNormals &targetDir) |
| | orient neighbors around each point in
|
| |
| MRMESH_API void | MR::orientLocalTriangulations (AllLocalTriangulations &triangs, const VertCoords &coords, const VertBitSet ®ion, const std::function< Vector3f(VertId)> &targetDir) |
| |
| MRMESH_API bool | MR::autoOrientLocalTriangulations (const PointCloud &pointCloud, AllLocalTriangulations &triangs, const VertBitSet ®ion, ProgressCallback progress={}, Triangulation *outRep3=nullptr, Triangulation *outRep2=nullptr) |
| | orient neighbors around each point in
|
| |
| MRMESH_API TrianglesRepetitions | MR::computeTrianglesRepetitions (const AllLocalTriangulations &triangs) |
| | computes statistics about the number of triangle repetitions in local triangulations
|
| |
| MRMESH_API std::vector< UnorientedTriangle > | MR::findRepeatedUnorientedTriangles (const AllLocalTriangulations &triangs, int repetitions) |
| | from local triangulations returns all unoriented triangles with given number of repetitions each in [1,3]
|
| |
| MRMESH_API Triangulation | MR::findRepeatedOrientedTriangles (const AllLocalTriangulations &triangs, int repetitions) |
| | from local triangulations returns all oriented triangles with given number of repetitions each in [1,3]
|
| |
| MRMESH_API void | MR::findRepeatedOrientedTriangles (const AllLocalTriangulations &triangs, Triangulation *outRep3, Triangulation *outRep2) |
| | optional output with all oriented triangles that appear in exactly two local triangulations
|
| |