Public Member Functions | |
| bool | __bool__ (self) |
| bool | __ge__ (self, ConstMeshPointAndDistance other) |
| bool | __gt__ (self, ConstMeshPointAndDistance other) |
| __init__ (self, *args, **kwargs) | |
| bool | __le__ (self, ConstMeshPointAndDistance other) |
| bool | __lt__ (self, ConstMeshPointAndDistance other) |
| float | bidirDist (self) |
| float | dist (self) |
| bool | valid (self) |
| bool | bidirectionalOrOutside (self) |
| float | eucledeanDist (self) |
| ConstVector3f | loc (self) |
| ConstMeshTriPoint | mtp (self) |
| float | w (self) |
Static Protected Attributes | |
| typing | _offsetof_bidirectionalOrOutside = 32 |
| typing | _offsetof_eucledeanDist = 24 |
| typing | _offsetof_loc = 0 |
| typing | _offsetof_mtp = 12 |
| typing | _offsetof_w = 28 |
Generated from: MR::MeshPointAndDistance
| mrmeshpy.ConstMeshPointAndDistance.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMeshPointAndDistance) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMeshPointAndDistance, arg0: meshlib.mrmeshpy.ConstMeshPointAndDistance) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMeshPointAndDistance, loc: meshlib.mrmeshpy.ConstVector3f, mtp: meshlib.mrmeshpy.ConstMeshTriPoint, eucledeanDist: float, w: float, bidirectionalOrOutside: bool) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMeshPointAndDistance, : meshlib.mrmeshpy.ConstMeshPointAndDistance) -> None
| bool mrmeshpy.ConstMeshPointAndDistance.__bool__ | ( | self | ) |
| bool mrmeshpy.ConstMeshPointAndDistance.__ge__ | ( | self, | |
| ConstMeshPointAndDistance | other ) |
comparison telling which point is closer to the location
| bool mrmeshpy.ConstMeshPointAndDistance.__gt__ | ( | self, | |
| ConstMeshPointAndDistance | other ) |
comparison telling which point is closer to the location
| bool mrmeshpy.ConstMeshPointAndDistance.__le__ | ( | self, | |
| ConstMeshPointAndDistance | other ) |
comparison telling which point is closer to the location
| bool mrmeshpy.ConstMeshPointAndDistance.__lt__ | ( | self, | |
| ConstMeshPointAndDistance | other ) |
comparison telling which point is closer to the location
| float mrmeshpy.ConstMeshPointAndDistance.bidirDist | ( | self | ) |
bidirectional distance from input location to mtp considering point's weight
| bool mrmeshpy.ConstMeshPointAndDistance.bidirectionalOrOutside | ( | self | ) |
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization
Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.
| float mrmeshpy.ConstMeshPointAndDistance.dist | ( | self | ) |
the distance from input location to mtp considering point's weight and location inside/outside; dist() is continuous function of location unlike innerDist(), which makes 2*weight jump if the location moves through the surface
| float mrmeshpy.ConstMeshPointAndDistance.eucledeanDist | ( | self | ) |
euclidean distance from input location to mtp
Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.
| ConstVector3f mrmeshpy.ConstMeshPointAndDistance.loc | ( | self | ) |
point location
Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.
| ConstMeshTriPoint mrmeshpy.ConstMeshPointAndDistance.mtp | ( | self | ) |
the corresponding point on mesh in barycentric representation
Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.
| bool mrmeshpy.ConstMeshPointAndDistance.valid | ( | self | ) |
check for validity, otherwise there is no point closer than maxBidirDist
| float mrmeshpy.ConstMeshPointAndDistance.w | ( | self | ) |
point's weight
Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |