Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ConstPointsToMeshProjector arg0) |
| None | findProjections (self, meshlib.mrmeshpy.std_vector_MeshProjectionResult res, meshlib.mrmeshpy.ConstVertCoords points, meshlib.mrmeshpy.ConstAffineXf3f objXf, meshlib.mrmeshpy.ConstAffineXf3f refObjXf, float upDistLimitSq, float loDistLimitSq) |
| None | updateMeshData (self, meshlib.mrmeshpy.ConstMesh mesh) |
| Public Member Functions inherited from mrcudapy.ConstPointsToMeshProjector | |
| __init__ (self, *args, **kwargs) | |
| int | projectionsHeapBytes (self, int numProjections) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::Cuda::PointsToMeshProjector Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
|
static |
| None mrcudapy.PointsToMeshProjector.__init__ | ( | self | ) |
| None mrcudapy.PointsToMeshProjector.__init__ | ( | self, | |
| ConstPointsToMeshProjector | arg0 ) |
Implicit copy constructor.
| None mrcudapy.PointsToMeshProjector.findProjections | ( | self, | |
| meshlib.mrmeshpy.std_vector_MeshProjectionResult | res, | ||
| meshlib.mrmeshpy.ConstVertCoords | points, | ||
| meshlib.mrmeshpy.ConstAffineXf3f | objXf, | ||
| meshlib.mrmeshpy.ConstAffineXf3f | refObjXf, | ||
| float | upDistLimitSq, | ||
| float | loDistLimitSq ) |
<summary> Computes the closest point on mesh to each of given points </summary> <param name="res">vector pf projections</param> <param name="points">vector of points to project</param> <param name="objXf">transform applied to points</param> <param name="refObjXf">transform applied to referencing mesh; returned proj.point are in the space of the referencing mesh before this transform</param> <param name="upDistLimitSq">maximal squared distance from point to mesh</param> <param name="loDistLimitSq">minimal squared distance from point to mesh</param>
| None mrcudapy.PointsToMeshProjector.updateMeshData | ( | self, | |
| meshlib.mrmeshpy.ConstMesh | mesh ) |
update all data related to the referencing mesh