MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::MeshOrPoints::ProjectionResult

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.MeshOrPoints.ProjectionResult._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ closestVert() [1/2]

VertId 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 mrmeshpy.MeshOrPoints.ProjectionResult.closestVert ( self,
VertId arg1 )

◆ distSq() [1/2]

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

◆ distSq() [2/2]

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

◆ isBd() [1/2]

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

◆ isBd() [2/2]

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

◆ normal() [1/2]

std_optional_Vector3_float 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 mrmeshpy.MeshOrPoints.ProjectionResult.normal ( self,
std_optional_Vector3_float arg1 )

◆ point() [1/2]

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

◆ point() [2/2]

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

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