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

Public Member Functions

 __init__ (self, *args, **kwargs)
bool bidirectionalMode (self)
float maxWeight (self)
float maxWeightGrad (self)
float minWeight (self)
Const_func_float_from_Id_VertTag pointWeight (self)

Static Protected Attributes

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__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstDistanceFromWeightedPointsParams, pointWeight: meshlib.mrmeshpy.Const_func_float_from_Id_VertTag, minWeight: float, maxWeight: float, maxWeightGrad: float, bidirectionalMode: bool) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ bidirectionalMode()

bool mrmeshpy.ConstDistanceFromWeightedPointsParams.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 in mrmeshpy.DistanceFromWeightedPointsParams, and mrmeshpy.DistanceFromWeightedPointsParams.

◆ maxWeight()

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

Reimplemented in mrmeshpy.DistanceFromWeightedPointsParams, and mrmeshpy.DistanceFromWeightedPointsParams.

◆ maxWeightGrad()

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

Reimplemented in mrmeshpy.DistanceFromWeightedPointsParams, and mrmeshpy.DistanceFromWeightedPointsParams.

◆ minWeight()

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

Reimplemented in mrmeshpy.DistanceFromWeightedPointsParams, and mrmeshpy.DistanceFromWeightedPointsParams.

◆ pointWeight()

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

Reimplemented in mrmeshpy.DistanceFromWeightedPointsParams, and mrmeshpy.DistanceFromWeightedPointsParams.

Member Data Documentation

◆ _offsetof_bidirectionalMode

typing mrmeshpy.ConstDistanceFromWeightedPointsParams._offsetof_bidirectionalMode = 44
staticprotected

◆ _offsetof_maxWeight

typing mrmeshpy.ConstDistanceFromWeightedPointsParams._offsetof_maxWeight = 36
staticprotected

◆ _offsetof_maxWeightGrad

typing mrmeshpy.ConstDistanceFromWeightedPointsParams._offsetof_maxWeightGrad = 40
staticprotected

◆ _offsetof_minWeight

typing mrmeshpy.ConstDistanceFromWeightedPointsParams._offsetof_minWeight = 32
staticprotected

◆ _offsetof_pointWeight

typing mrmeshpy.ConstDistanceFromWeightedPointsParams._offsetof_pointWeight = 0
staticprotected

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