MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstMeshPointAndDistance Class Reference
Inheritance diagram for mrmeshpy.ConstMeshPointAndDistance:

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

Detailed Description

Generated from:  MR::MeshPointAndDistance

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstMeshPointAndDistance.__bool__ ( self)

◆ __ge__()

bool mrmeshpy.ConstMeshPointAndDistance.__ge__ ( self,
ConstMeshPointAndDistance other )
comparison telling which point is closer to the location

◆ __gt__()

bool mrmeshpy.ConstMeshPointAndDistance.__gt__ ( self,
ConstMeshPointAndDistance other )
comparison telling which point is closer to the location

◆ __le__()

bool mrmeshpy.ConstMeshPointAndDistance.__le__ ( self,
ConstMeshPointAndDistance other )
comparison telling which point is closer to the location

◆ __lt__()

bool mrmeshpy.ConstMeshPointAndDistance.__lt__ ( self,
ConstMeshPointAndDistance other )
comparison telling which point is closer to the location

◆ bidirDist()

float mrmeshpy.ConstMeshPointAndDistance.bidirDist ( self)
bidirectional distance from input location to mtp considering point's weight

◆ bidirectionalOrOutside()

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.

◆ dist()

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

◆ eucledeanDist()

float mrmeshpy.ConstMeshPointAndDistance.eucledeanDist ( self)
euclidean distance from input location to mtp

Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.

◆ loc()

ConstVector3f mrmeshpy.ConstMeshPointAndDistance.loc ( self)
point location

Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.

◆ mtp()

ConstMeshTriPoint mrmeshpy.ConstMeshPointAndDistance.mtp ( self)
the corresponding point on mesh in barycentric representation

Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.

◆ valid()

bool mrmeshpy.ConstMeshPointAndDistance.valid ( self)
check for validity, otherwise there is no point closer than maxBidirDist

◆ w()

float mrmeshpy.ConstMeshPointAndDistance.w ( self)
point's weight

Reimplemented in mrmeshpy.MeshPointAndDistance, and mrmeshpy.MeshPointAndDistance.

Member Data Documentation

◆ _offsetof_bidirectionalOrOutside

typing mrmeshpy.ConstMeshPointAndDistance._offsetof_bidirectionalOrOutside = 32
staticprotected

◆ _offsetof_eucledeanDist

typing mrmeshpy.ConstMeshPointAndDistance._offsetof_eucledeanDist = 24
staticprotected

◆ _offsetof_loc

typing mrmeshpy.ConstMeshPointAndDistance._offsetof_loc = 0
staticprotected

◆ _offsetof_mtp

typing mrmeshpy.ConstMeshPointAndDistance._offsetof_mtp = 12
staticprotected

◆ _offsetof_w

typing mrmeshpy.ConstMeshPointAndDistance._offsetof_w = 28
staticprotected

The documentation for this class was generated from the following file: