MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.MeshOrPoints.ProjectionResult Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, MeshOrPoints.ProjectionResult arg0)
 
None __init__ (self, Vector3f point, std_optional_Vector3_float normal, bool isBd, float distSq, VertId closestVert)
 
VertId closestVert (self)
 
None closestVert (self, VertId arg1)
 
float distSq (self)
 
None distSq (self, float arg1)
 
bool isBd (self)
 
None isBd (self, bool arg1)
 
std_optional_Vector3_float normal (self)
 
None normal (self, std_optional_Vector3_float arg1)
 
Vector3f point (self)
 
None point (self, Vector3f arg1)
 

Detailed Description

Generated from:  MR::MeshOrPoints::ProjectionResult

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.__init__ ( self,
Vector3f point,
std_optional_Vector3_float normal,
bool isBd,
float distSq,
VertId closestVert )
Implicit aggregate constructor.

Member Function Documentation

◆ closestVert() [1/2]

VertId meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.closestVert ( self)
for point clouds it is the closest vertex,
for meshes it is the closest vertex of the triangle with the closest point

◆ closestVert() [2/2]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.closestVert ( self,
VertId arg1 )

◆ distSq() [1/2]

float meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.distSq ( self)
squared distance from query point to the closest point

◆ distSq() [2/2]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.distSq ( self,
float arg1 )

◆ isBd() [1/2]

bool meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.isBd ( self)
can be true only for meshes, if the closest point is located on the boundary

◆ isBd() [2/2]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.isBd ( self,
bool arg1 )

◆ normal() [1/2]

std_optional_Vector3_float meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.normal ( self)
normal at the closest point;
for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)

◆ normal() [2/2]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.normal ( self,
std_optional_Vector3_float arg1 )

◆ point() [1/2]

Vector3f meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.point ( self)
found closest point

◆ point() [2/2]

None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.point ( self,
Vector3f arg1 )

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