MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PointsToMeshProjector Class Reference
Inheritance diagram for mrmeshpy.PointsToMeshProjector:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPointsToMeshProjector arg0)
None findProjections (self, std_vector_MeshProjectionResult result, ConstVertCoords points, ConstAffineXf3f objXf, ConstAffineXf3f refObjXf, float upDistLimitSq, float loDistLimitSq)
None updateMeshData (self, ConstMesh mesh)
Public Member Functions inherited from mrmeshpy.ConstPointsToMeshProjector
 __init__ (self, *args, **kwargs)
int projectionsHeapBytes (self, int numProjections)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

Generated from:  MR::PointsToMeshProjector

Computes the closest point on mesh to each of given points on CPU

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.PointsToMeshProjector.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.PointsToMeshProjector.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.PointsToMeshProjector.__init__ ( self,
ConstPointsToMeshProjector arg0 )
Implicit copy constructor.

Member Function Documentation

◆ findProjections()

None mrmeshpy.PointsToMeshProjector.findProjections ( self,
std_vector_MeshProjectionResult result,
ConstVertCoords points,
ConstAffineXf3f objXf,
ConstAffineXf3f refObjXf,
float upDistLimitSq,
float loDistLimitSq )
<summary>
Computes the closest point on mesh to each of given points
</summary>
<param name="result">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>

Reimplemented from mrmeshpy.IPointsToMeshProjector.

◆ updateMeshData()

None mrmeshpy.PointsToMeshProjector.updateMeshData ( self,
ConstMesh mesh )
update all data related to the referencing mesh

Reimplemented from mrmeshpy.IPointsToMeshProjector.


The documentation for this class was generated from the following file: