Public Member Functions | |
| None | __init__ (MeshOrPoints.ProjectionResult self) |
| None | __init__ (MeshOrPoints.ProjectionResult self, MeshOrPoints.ConstProjectionResult arg0) |
| None | __init__ (MeshOrPoints.ProjectionResult self, ConstVector3f point, Const_std_optional_Vector3_float normal, bool isBd, float distSq, ConstVertId closestVert) |
| MeshOrPoints.ProjectionResult | assign (MeshOrPoints.ProjectionResult self, MeshOrPoints.ConstProjectionResult other) |
| VertId | closestVert (self) |
| None | closestVert (self, ConstVertId 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, Const_std_optional_Vector3_float arg1) |
| Vector3f | point (self) |
| None | point (self, ConstVector3f arg1) |
| Public Member Functions inherited from mrmeshpy.MeshOrPoints.ConstProjectionResult | |
| bool | __bool__ (self) |
| __init__ (self, *args, **kwargs) | |
| bool | valid (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.MeshOrPoints.ConstProjectionResult | |
| 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.ConstMeshOrPoints.ProjectionResult.__init__ | ( | MeshOrPoints.ProjectionResult | self | ) |
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ | ( | MeshOrPoints.ProjectionResult | self, |
| MeshOrPoints.ConstProjectionResult | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.__init__ | ( | MeshOrPoints.ProjectionResult | self, |
| ConstVector3f | point, | ||
| Const_std_optional_Vector3_float | normal, | ||
| bool | isBd, | ||
| float | distSq, | ||
| ConstVertId | closestVert ) |
Implicit aggregate constructor.
| MeshOrPoints.ProjectionResult mrmeshpy.ConstMeshOrPoints.ProjectionResult.assign | ( | MeshOrPoints.ProjectionResult | self, |
| MeshOrPoints.ConstProjectionResult | other ) |
| VertId mrmeshpy.ConstMeshOrPoints.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
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.closestVert | ( | self, | |
| ConstVertId | arg1 ) |
for point clouds it is the closest vertex, for meshes it is the closest vertex of the triangle with the closest point
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| float mrmeshpy.ConstMeshOrPoints.ProjectionResult.distSq | ( | self | ) |
squared distance from query point to the closest point
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.distSq | ( | self, | |
| float | arg1 ) |
squared distance from query point to the closest point
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| bool mrmeshpy.ConstMeshOrPoints.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)
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.isBd | ( | self, | |
| bool | arg1 ) |
can be true only for meshes, if the closest point is located on the boundary of the mesh (or the current region)
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| std_optional_Vector3_float mrmeshpy.ConstMeshOrPoints.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)
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.normal | ( | self, | |
| Const_std_optional_Vector3_float | arg1 ) |
normal at the closest point; for meshes it will be pseudonormal with the differentiation depending on closest point location (face/edge/vertex)
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| Vector3f mrmeshpy.ConstMeshOrPoints.ProjectionResult.point | ( | self | ) |
found closest point
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.
| None mrmeshpy.ConstMeshOrPoints.ProjectionResult.point | ( | self, | |
| ConstVector3f | arg1 ) |
found closest point
Reimplemented from mrmeshpy.MeshOrPoints.ConstProjectionResult.