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) |
Generated from: MR::MeshOrPoints::ProjectionResult
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self, | |
MeshOrPoints.ProjectionResult | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self, | |
Vector3f | point, | ||
std_optional_Vector3_float | normal, | ||
bool | isBd, | ||
float | distSq, | ||
VertId | closestVert ) |
Implicit aggregate constructor.
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
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.closestVert | ( | self, | |
VertId | arg1 ) |
float meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.distSq | ( | self | ) |
squared distance from query point to the closest point
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.distSq | ( | self, | |
float | arg1 ) |
bool meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.isBd | ( | self | ) |
can be true only for meshes, if the closest point is located on the boundary
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.isBd | ( | self, | |
bool | arg1 ) |
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)
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.normal | ( | self, | |
std_optional_Vector3_float | arg1 ) |
Vector3f meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.point | ( | self | ) |
found closest point
None meshlib.mrmeshpy.MeshOrPoints.ProjectionResult.point | ( | self, | |
Vector3f | arg1 ) |