Public Member Functions | |
| bool | __bool__ (self) |
| 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) |
| bool | valid (self) |
| 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 Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| MeshOrPoints.ProjectionResult | operator (*args, **kwargs) |
| MeshOrPoints.ProjectionResult | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_closestVert = 36 |
| typing | _offsetof_distSq = 32 |
| typing | _offsetof_isBd = 28 |
| typing | _offsetof_normal = 12 |
| typing | _offsetof_point = 0 |
Generated from: MR::MeshOrPoints::ProjectionResult
|
static |
| None mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self | ) |
| None mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self, | |
| MeshOrPoints.ProjectionResult | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.MeshOrPoints.ProjectionResult.__init__ | ( | self, | |
| Vector3f | point, | ||
| std_optional_Vector3_float | normal, | ||
| bool | isBd, | ||
| float | distSq, | ||
| VertId | closestVert ) |
Implicit aggregate constructor.
| bool mrmeshpy.MeshOrPoints.ProjectionResult.__bool__ | ( | self | ) |
| 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
| None mrmeshpy.MeshOrPoints.ProjectionResult.closestVert | ( | self, | |
| VertId | arg1 ) |
| float mrmeshpy.MeshOrPoints.ProjectionResult.distSq | ( | self | ) |
squared distance from query point to the closest point
| None mrmeshpy.MeshOrPoints.ProjectionResult.distSq | ( | self, | |
| float | arg1 ) |
| bool mrmeshpy.MeshOrPoints.ProjectionResult.isBd | ( | self | ) |
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)
| None mrmeshpy.MeshOrPoints.ProjectionResult.isBd | ( | self, | |
| bool | arg1 ) |
| 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)
| None mrmeshpy.MeshOrPoints.ProjectionResult.normal | ( | self, | |
| std_optional_Vector3_float | arg1 ) |
|
static |
|
static |
| Vector3f mrmeshpy.MeshOrPoints.ProjectionResult.point | ( | self | ) |
found closest point
| None mrmeshpy.MeshOrPoints.ProjectionResult.point | ( | self, | |
| Vector3f | arg1 ) |
| bool mrmeshpy.MeshOrPoints.ProjectionResult.valid | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |