Public Member Functions | |
| None | findProjections (self, std_vector_MeshProjectionResult result, ConstVertCoords points, ConstAffineXf3f worldXf=None, ConstAffineXf3f worldRefXf=None, float upDistLimitSq=3.4028234663852886e+38, float loDistLimitSq=0.0) |
| None | updateMeshData (self, ConstMesh mesh) |
| Public Member Functions inherited from mrmeshpy.ConstIPointsToMeshProjector | |
| int | projectionsHeapBytes (self, int numProjections) |
Generated from: MR::IPointsToMeshProjector Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions must be implemented
| None mrmeshpy.IPointsToMeshProjector.findProjections | ( | self, | |
| std_vector_MeshProjectionResult | result, | ||
| ConstVertCoords | points, | ||
| ConstAffineXf3f | worldXf = None, | ||
| ConstAffineXf3f | worldRefXf = None, | ||
| float | upDistLimitSq = 3.4028234663852886e+38, | ||
| float | loDistLimitSq = 0.0 ) |
Computes the closest point on mesh to each of given points; result[i].distSq is the squared distance in world space (after worldXf and worldRefXf), and result[i].proj.point is in the space of the reference mesh (before worldRefXf), whether worldRefXf is rigid or not
Reimplemented in mrmeshpy.PointsToMeshProjector.
| None mrmeshpy.IPointsToMeshProjector.updateMeshData | ( | self, | |
| ConstMesh | mesh ) |
Updates all data related to the referencing mesh
Reimplemented in mrmeshpy.PointsToMeshProjector.