Public Member Functions | |
bool | __bool__ (self) |
None | __init__ (self) |
None | __init__ (self, Vector3f loc, MeshTriPoint mtp, float eucledeanDist, float w, bool bidirectionalOrOutside) |
float | bidirDist (self) |
float | dist (self) |
bool | valid (self) |
bool | bidirectionalOrOutside (self) |
None | bidirectionalOrOutside (self, bool arg1) |
float | eucledeanDist (self) |
None | eucledeanDist (self, float arg1) |
Vector3f | loc (self) |
None | loc (self, Vector3f arg1) |
MeshTriPoint | mtp (self) |
None | mtp (self, MeshTriPoint arg1) |
float | w (self) |
None | w (self, float arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
MeshPointAndDistance | operator (*args, **kwargs) |
MeshPointAndDistance | operator (*args, **kwargs) |
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
|
static |
None mrmeshpy.MeshPointAndDistance.__init__ | ( | self | ) |
None mrmeshpy.MeshPointAndDistance.__init__ | ( | self, | |
Vector3f | loc, | ||
MeshTriPoint | mtp, | ||
float | eucledeanDist, | ||
float | w, | ||
bool | bidirectionalOrOutside ) |
Implicit aggregate constructor.
bool mrmeshpy.MeshPointAndDistance.__bool__ | ( | self | ) |
float mrmeshpy.MeshPointAndDistance.bidirDist | ( | self | ) |
bidirectional distance from input location to mtp considering point's weight
bool mrmeshpy.MeshPointAndDistance.bidirectionalOrOutside | ( | self | ) |
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization
None mrmeshpy.MeshPointAndDistance.bidirectionalOrOutside | ( | self, | |
bool | arg1 ) |
float mrmeshpy.MeshPointAndDistance.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.MeshPointAndDistance.eucledeanDist | ( | self | ) |
euclidean distance from input location to mtp
None mrmeshpy.MeshPointAndDistance.eucledeanDist | ( | self, | |
float | arg1 ) |
Vector3f mrmeshpy.MeshPointAndDistance.loc | ( | self | ) |
point location
None mrmeshpy.MeshPointAndDistance.loc | ( | self, | |
Vector3f | arg1 ) |
MeshTriPoint mrmeshpy.MeshPointAndDistance.mtp | ( | self | ) |
the corresponding point on mesh in barycentric representation
None mrmeshpy.MeshPointAndDistance.mtp | ( | self, | |
MeshTriPoint | arg1 ) |
|
static |
|
static |
bool mrmeshpy.MeshPointAndDistance.valid | ( | self | ) |
check for validity, otherwise there is no point closer than maxBidirDist
float mrmeshpy.MeshPointAndDistance.w | ( | self | ) |
point's weight
None mrmeshpy.MeshPointAndDistance.w | ( | self, | |
float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |