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, ConstDistanceFromWeightedPointsParams arg0)
None __init__ (self, Const_func_float_from_Id_VertTag pointWeight, float minWeight, float maxWeight, float maxWeightGrad, bool bidirectionalMode)
DistanceFromWeightedPointsParams assign (self, ConstDistanceFromWeightedPointsParams other)
bool bidirectionalMode (self)
None bidirectionalMode (self, bool arg1)
float maxWeight (self)
None maxWeight (self, float arg1)
float maxWeightGrad (self)
None maxWeightGrad (self, float arg1)
float minWeight (self)
None minWeight (self, float arg1)
func_float_from_Id_VertTag pointWeight (self)
None pointWeight (self, Const_func_float_from_Id_VertTag arg1)
Public Member Functions inherited from mrmeshpy.ConstDistanceFromWeightedPointsParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstDistanceFromWeightedPointsParams
typing _offsetof_bidirectionalMode = 44
typing _offsetof_maxWeight = 36
typing _offsetof_maxWeightGrad = 40
typing _offsetof_minWeight = 32
typing _offsetof_pointWeight = 0

Detailed Description

Generated from:  MR::DistanceFromWeightedPointsParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.DistanceFromWeightedPointsParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.DistanceFromWeightedPointsParams.__init__ ( self,
ConstDistanceFromWeightedPointsParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.DistanceFromWeightedPointsParams.__init__ ( self,
Const_func_float_from_Id_VertTag pointWeight,
float minWeight,
float maxWeight,
float maxWeightGrad,
bool bidirectionalMode )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

DistanceFromWeightedPointsParams mrmeshpy.DistanceFromWeightedPointsParams.assign ( self,
ConstDistanceFromWeightedPointsParams other )

◆ 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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ bidirectionalMode() [2/2]

None mrmeshpy.DistanceFromWeightedPointsParams.bidirectionalMode ( self,
bool arg1 )
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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ 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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ maxWeight() [2/2]

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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ 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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ maxWeightGrad() [2/2]

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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ minWeight() [1/2]

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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ minWeight() [2/2]

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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ 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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.

◆ pointWeight() [2/2]

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

Reimplemented from mrmeshpy.ConstDistanceFromWeightedPointsParams.


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