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

Public Member Functions

bool __bool__ (self)
 __init__ (self, *args, **kwargs)
bool valid (self)
float dist (self)
ConstVertId vId (self)

Static Protected Attributes

typing _offsetof_dist = 4
typing _offsetof_vId = 0

Detailed Description

Generated from:  MR::PointAndDistance

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPointAndDistance.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPointAndDistance) -> None

2. __init__(self: meshlib.mrmeshpy.ConstPointAndDistance, arg0: meshlib.mrmeshpy.ConstPointAndDistance) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstPointAndDistance, vId: meshlib.mrmeshpy.ConstVertId, dist: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstPointAndDistance, : meshlib.mrmeshpy.ConstPointAndDistance) -> None

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstPointAndDistance.__bool__ ( self)

◆ dist()

float mrmeshpy.ConstPointAndDistance.dist ( self)
the distance from input location to point vId considering point's weight

Reimplemented in mrmeshpy.PointAndDistance, and mrmeshpy.PointAndDistance.

◆ valid()

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

◆ vId()

ConstVertId mrmeshpy.ConstPointAndDistance.vId ( self)
a cloud's point

Reimplemented in mrmeshpy.PointAndDistance, and mrmeshpy.PointAndDistance.

Member Data Documentation

◆ _offsetof_dist

typing mrmeshpy.ConstPointAndDistance._offsetof_dist = 4
staticprotected

◆ _offsetof_vId

typing mrmeshpy.ConstPointAndDistance._offsetof_vId = 0
staticprotected

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