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

Public Member Functions

None __init__ (self)
 
None __init__ (self, PointsToMeshProjector arg0)
 
None findProjections (self, std_vector_MeshProjectionResult result, std_vector_Vector3_float points, AffineXf3f objXf, AffineXf3f refObjXf, float upDistLimitSq, float loDistLimitSq)
 
int projectionsHeapBytes (self, int numProjections)
 
None updateMeshData (self, Mesh mesh)
 

Detailed Description

Generated from:  MR::PointsToMeshProjector

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.PointsToMeshProjector.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

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

Member Function Documentation

◆ findProjections()

None meshlib.mrmeshpy.PointsToMeshProjector.findProjections ( self,
std_vector_MeshProjectionResult result,
std_vector_Vector3_float points,
AffineXf3f objXf,
AffineXf3f 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</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 meshlib.mrmeshpy.IPointsToMeshProjector.

◆ projectionsHeapBytes()

int meshlib.mrmeshpy.PointsToMeshProjector.projectionsHeapBytes ( self,
int numProjections )
Returns amount of additional memory needed to compute projections

Reimplemented from meshlib.mrmeshpy.IPointsToMeshProjector.

◆ updateMeshData()

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

Reimplemented from meshlib.mrmeshpy.IPointsToMeshProjector.


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