Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| MeshTriPoint | mtp (self, ConstMeshTopology topology) |
| float | dist (self) |
| ConstPointOnFace | proj (self) |
| ConstTriPointf | tp (self) |
Static Protected Attributes | |
| typing | _offsetof_dist = 24 |
| typing | _offsetof_proj = 0 |
| typing | _offsetof_tp = 16 |
Generated from: MR::SignedDistanceToMeshResult
| mrmeshpy.ConstSignedDistanceToMeshResult.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSignedDistanceToMeshResult) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSignedDistanceToMeshResult, arg0: meshlib.mrmeshpy.ConstSignedDistanceToMeshResult) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstSignedDistanceToMeshResult, proj: meshlib.mrmeshpy.ConstPointOnFace, tp: meshlib.mrmeshpy.ConstTriPointf, dist: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstSignedDistanceToMeshResult, : meshlib.mrmeshpy.ConstSignedDistanceToMeshResult) -> None
| float mrmeshpy.ConstSignedDistanceToMeshResult.dist | ( | self | ) |
distance from pt to proj (positive - outside, negative - inside the mesh)
Reimplemented in mrmeshpy.SignedDistanceToMeshResult, and mrmeshpy.SignedDistanceToMeshResult.
| MeshTriPoint mrmeshpy.ConstSignedDistanceToMeshResult.mtp | ( | self, | |
| ConstMeshTopology | topology ) |
returns the closest point on mesh as MeshTriPoint relative to topology.edgeWithLeft( proj.face ), or invalid MeshTriPoint if proj.face is invalid
| ConstPointOnFace mrmeshpy.ConstSignedDistanceToMeshResult.proj | ( | self | ) |
the closest point on mesh
Reimplemented in mrmeshpy.SignedDistanceToMeshResult, and mrmeshpy.SignedDistanceToMeshResult.
| ConstTriPointf mrmeshpy.ConstSignedDistanceToMeshResult.tp | ( | self | ) |
barycentric coordinates of proj relative to the vertices of proj.face in the order of MeshTopology::getTriVerts( proj.face )
Reimplemented in mrmeshpy.SignedDistanceToMeshResult, and mrmeshpy.SignedDistanceToMeshResult.
|
staticprotected |
|
staticprotected |
|
staticprotected |