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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMeshPointAndDistance arg0)
None __init__ (self, ConstVector3f loc, ConstMeshTriPoint mtp, float eucledeanDist, float w, bool bidirectionalOrOutside)
MeshPointAndDistance assign (self, ConstMeshPointAndDistance other)
bool bidirectionalOrOutside (self)
None bidirectionalOrOutside (self, bool arg1)
float eucledeanDist (self)
None eucledeanDist (self, float arg1)
Vector3f loc (self)
None loc (self, ConstVector3f arg1)
MeshTriPoint mtp (self)
None mtp (self, ConstMeshTriPoint arg1)
float w (self)
None w (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstMeshPointAndDistance
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)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMeshPointAndDistance
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__() [1/4]

None mrmeshpy.MeshPointAndDistance.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MeshPointAndDistance.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.MeshPointAndDistance.__init__ ( self,
ConstMeshPointAndDistance arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.MeshPointAndDistance.__init__ ( self,
ConstVector3f loc,
ConstMeshTriPoint mtp,
float eucledeanDist,
float w,
bool bidirectionalOrOutside )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MeshPointAndDistance mrmeshpy.MeshPointAndDistance.assign ( self,
ConstMeshPointAndDistance other )

◆ bidirectionalOrOutside() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ bidirectionalOrOutside() [2/2]

None mrmeshpy.MeshPointAndDistance.bidirectionalOrOutside ( self,
bool arg1 )
either
1) bidirectional distances are computed, or
2) input location is locally outside of the surface (by pseudonormal)
used for optimization

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ eucledeanDist() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ eucledeanDist() [2/2]

None mrmeshpy.MeshPointAndDistance.eucledeanDist ( self,
float arg1 )
euclidean distance from input location to mtp

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ loc() [1/2]

Vector3f mrmeshpy.MeshPointAndDistance.loc ( self)
point location

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ loc() [2/2]

None mrmeshpy.MeshPointAndDistance.loc ( self,
ConstVector3f arg1 )
point location

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ mtp() [1/2]

MeshTriPoint mrmeshpy.MeshPointAndDistance.mtp ( self)
the corresponding point on mesh in barycentric representation

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ mtp() [2/2]

None mrmeshpy.MeshPointAndDistance.mtp ( self,
ConstMeshTriPoint arg1 )
the corresponding point on mesh in barycentric representation

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ w() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.

◆ w() [2/2]

None mrmeshpy.MeshPointAndDistance.w ( self,
float arg1 )
point's weight

Reimplemented from mrmeshpy.ConstMeshPointAndDistance.


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