Classes | |
| class | ConstISolver |
| class | ISolver |
Public Member Functions | |
| None | __init__ (self) |
| None | prepare (self, ConstMeshTopology topology, float guideWeight=1, ConstVertBitSet region=None) |
| None | run (self, ConstVertCoords guide, ConstFaceNormals normals, VertCoords points) |
| None | run (self, ConstVertCoords guide, ConstFaceNormals normals, VertCoords points, float maxInitialDistSq) |
| Public Member Functions inherited from mrmeshpy.ConstNormalsToPoints | |
| __init__ (self, *args, **kwargs) | |
Generated from: MR::NormalsToPoints The purpose of this class is to update vertex positions given target triangle normals; see the article "Static/Dynamic Filtering for Mesh Geometry"
| None mrmeshpy.NormalsToPoints.__init__ | ( | self | ) |
| None mrmeshpy.NormalsToPoints.prepare | ( | self, | |
| ConstMeshTopology | topology, | ||
| float | guideWeight = 1, | ||
| ConstVertBitSet | region = None ) |
builds linear system and prepares a solver for it; please call it only once for mesh, and then run as many times as you like \\param guideWeight how much resulting points must be attracted to initial points, must be > 0 \\param region if given, then only these vertices are moved by run(), and all other vertices are fixed
| None mrmeshpy.NormalsToPoints.run | ( | self, | |
| ConstVertCoords | guide, | ||
| ConstFaceNormals | normals, | ||
| VertCoords | points ) |
performs one iteration consisting of projection of all triangles on planes with given normals and finding best points from them \\param guide target vertex positions to avoid under-determined system \\param normals target face normals \\param points initial approximation on input, updated approximation on output \\p maxInitialDistSq the maximum squared distance between a point and its position in (guide)
| None mrmeshpy.NormalsToPoints.run | ( | self, | |
| ConstVertCoords | guide, | ||
| ConstFaceNormals | normals, | ||
| VertCoords | points, | ||
| float | maxInitialDistSq ) |