Public Member Functions | |
| bool | __bool__ (self) |
| __init__ (self, *args, **kwargs) | |
| bool | valid (self) |
| ConstVertId | closestVert (self) |
| float | distSq (self) |
| bool | isBd (self) |
| Const_std_optional_Vector3_float | normal (self) |
| ConstVector3f | point (self) |
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
| mrmeshpy.MeshOrPoints.ConstProjectionResult.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult) -> None 2. __init__(self: meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult, arg0: meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult, point: meshlib.mrmeshpy.ConstVector3f, normal: meshlib.mrmeshpy.Const_std_optional_Vector3_float, isBd: bool, distSq: float, closestVert: meshlib.mrmeshpy.ConstVertId) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult, : meshlib.mrmeshpy.MeshOrPoints.ConstProjectionResult) -> None
| bool mrmeshpy.MeshOrPoints.ConstProjectionResult.__bool__ | ( | self | ) |
| ConstVertId mrmeshpy.MeshOrPoints.ConstProjectionResult.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 in mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.MeshOrPoints.ProjectionResult, and mrmeshpy.MeshOrPoints.ProjectionResult.
| float mrmeshpy.MeshOrPoints.ConstProjectionResult.distSq | ( | self | ) |
squared distance from query point to the closest point
Reimplemented in mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.MeshOrPoints.ProjectionResult, and mrmeshpy.MeshOrPoints.ProjectionResult.
| bool mrmeshpy.MeshOrPoints.ConstProjectionResult.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 in mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.MeshOrPoints.ProjectionResult, and mrmeshpy.MeshOrPoints.ProjectionResult.
| Const_std_optional_Vector3_float mrmeshpy.MeshOrPoints.ConstProjectionResult.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 in mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.MeshOrPoints.ProjectionResult, and mrmeshpy.MeshOrPoints.ProjectionResult.
| ConstVector3f mrmeshpy.MeshOrPoints.ConstProjectionResult.point | ( | self | ) |
found closest point
Reimplemented in mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.ConstMeshOrPoints.ProjectionResult, mrmeshpy.MeshOrPoints.ProjectionResult, and mrmeshpy.MeshOrPoints.ProjectionResult.
| bool mrmeshpy.MeshOrPoints.ConstProjectionResult.valid | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |