MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshPointAndDistance Class Reference

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
 

Detailed Description

Generated from:  MR::MeshPointAndDistance

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.MeshPointAndDistance.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ __bool__()

bool mrmeshpy.MeshPointAndDistance.__bool__ ( self)

◆ bidirDist()

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

◆ 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

◆ bidirectionalOrOutside() [2/2]

None mrmeshpy.MeshPointAndDistance.bidirectionalOrOutside ( self,
bool arg1 )

◆ dist()

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

◆ eucledeanDist() [1/2]

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

◆ eucledeanDist() [2/2]

None mrmeshpy.MeshPointAndDistance.eucledeanDist ( self,
float arg1 )

◆ loc() [1/2]

Vector3f mrmeshpy.MeshPointAndDistance.loc ( self)
point location

◆ loc() [2/2]

None mrmeshpy.MeshPointAndDistance.loc ( self,
Vector3f arg1 )

◆ mtp() [1/2]

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

◆ mtp() [2/2]

None mrmeshpy.MeshPointAndDistance.mtp ( self,
MeshTriPoint arg1 )

◆ operator() [1/2]

MeshPointAndDistance mrmeshpy.MeshPointAndDistance.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

MeshPointAndDistance mrmeshpy.MeshPointAndDistance.operator ( * args,
** kwargs )
static

◆ valid()

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

◆ w() [1/2]

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

◆ w() [2/2]

None mrmeshpy.MeshPointAndDistance.w ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_bidirectionalOrOutside

typing mrmeshpy.MeshPointAndDistance._offsetof_bidirectionalOrOutside = 32
staticprotected

◆ _offsetof_eucledeanDist

typing mrmeshpy.MeshPointAndDistance._offsetof_eucledeanDist = 24
staticprotected

◆ _offsetof_loc

typing mrmeshpy.MeshPointAndDistance._offsetof_loc = 0
staticprotected

◆ _offsetof_mtp

typing mrmeshpy.MeshPointAndDistance._offsetof_mtp = 12
staticprotected

◆ _offsetof_w

typing mrmeshpy.MeshPointAndDistance._offsetof_w = 28
staticprotected

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