MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstLaplacian.ConstAttractor Class Reference

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstMeshTriPoint p (self)
ConstVector3d target (self)
float weight (self)

Static Protected Attributes

typing _offsetof_p = 0
typing _offsetof_target = 16
typing _offsetof_weight = 40

Detailed Description

Generated from:  MR::Laplacian::Attractor

attracts the given point inside some mesh's triangle to the given target with the given weight

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.Laplacian.ConstAttractor, p: meshlib.mrmeshpy.ConstMeshTriPoint, target: meshlib.mrmeshpy.ConstVector3d, weight: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ p()

ConstMeshTriPoint mrmeshpy.ConstLaplacian.ConstAttractor.p ( self)

◆ target()

ConstVector3d mrmeshpy.ConstLaplacian.ConstAttractor.target ( self)

◆ weight()

float mrmeshpy.ConstLaplacian.ConstAttractor.weight ( self)
the weight or priority of this attractor relative to all other equations,
which must be compatible with weights of other equations;
the weight of ordinary equations is 1 for VertexMass::Unit,
and 1 / sqrt( double area around central vertex ) for VertexMass::NeiArea

Member Data Documentation

◆ _offsetof_p

typing mrmeshpy.ConstLaplacian.ConstAttractor._offsetof_p = 0
staticprotected

◆ _offsetof_target

typing mrmeshpy.ConstLaplacian.ConstAttractor._offsetof_target = 16
staticprotected

◆ _offsetof_weight

typing mrmeshpy.ConstLaplacian.ConstAttractor._offsetof_weight = 40
staticprotected

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