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

Public Member Functions

None __init__ (self)
 
None __init__ (self, func_float_from_Id_VertTag pointWeight, float maxWeight, float maxWeightGrad, bool bidirectionalMode)
 
bool bidirectionalMode (self)
 
None bidirectionalMode (self, bool arg1)
 
float maxWeight (self)
 
None maxWeight (self, float arg1)
 
float maxWeightGrad (self)
 
None maxWeightGrad (self, float arg1)
 
func_float_from_Id_VertTag pointWeight (self)
 
None pointWeight (self, func_float_from_Id_VertTag arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
DistanceFromWeightedPointsParams operator (*args, **kwargs)
 
DistanceFromWeightedPointsParams operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_bidirectionalMode = 72
 
typing _offsetof_maxWeight = 64
 
typing _offsetof_maxWeightGrad = 68
 
typing _offsetof_pointWeight = 0
 

Detailed Description

Generated from:  MR::DistanceFromWeightedPointsParams

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.DistanceFromWeightedPointsParams.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.DistanceFromWeightedPointsParams.__init__ ( self,
func_float_from_Id_VertTag pointWeight,
float maxWeight,
float maxWeightGrad,
bool bidirectionalMode )

Member Function Documentation

◆ bidirectionalMode() [1/2]

bool mrmeshpy.DistanceFromWeightedPointsParams.bidirectionalMode ( self)
for points, it must always true;
for triangles:
  if true the distances grow in both directions from each triangle, reaching minimum in the triangle;
  if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction

◆ bidirectionalMode() [2/2]

None mrmeshpy.DistanceFromWeightedPointsParams.bidirectionalMode ( self,
bool arg1 )

◆ maxWeight() [1/2]

float mrmeshpy.DistanceFromWeightedPointsParams.maxWeight ( self)
maximal weight among all points in the cloud;
if this value is imprecise, then more computations will be made by algorithm

◆ maxWeight() [2/2]

None mrmeshpy.DistanceFromWeightedPointsParams.maxWeight ( self,
float arg1 )

◆ maxWeightGrad() [1/2]

float mrmeshpy.DistanceFromWeightedPointsParams.maxWeightGrad ( self)
maximal magnitude of gradient of points' weight in the cloud, >=0;
if maxWeightGrad < 1 then more search optimizations can be done

◆ maxWeightGrad() [2/2]

None mrmeshpy.DistanceFromWeightedPointsParams.maxWeightGrad ( self,
float arg1 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ pointWeight() [1/2]

func_float_from_Id_VertTag mrmeshpy.DistanceFromWeightedPointsParams.pointWeight ( self)
function returning the weight of each point, must be set by the user

◆ pointWeight() [2/2]

None mrmeshpy.DistanceFromWeightedPointsParams.pointWeight ( self,
func_float_from_Id_VertTag arg1 )

Member Data Documentation

◆ _offsetof_bidirectionalMode

typing mrmeshpy.DistanceFromWeightedPointsParams._offsetof_bidirectionalMode = 72
staticprotected

◆ _offsetof_maxWeight

typing mrmeshpy.DistanceFromWeightedPointsParams._offsetof_maxWeight = 64
staticprotected

◆ _offsetof_maxWeightGrad

typing mrmeshpy.DistanceFromWeightedPointsParams._offsetof_maxWeightGrad = 68
staticprotected

◆ _offsetof_pointWeight

typing mrmeshpy.DistanceFromWeightedPointsParams._offsetof_pointWeight = 0
staticprotected

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