MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, Laplacian.Attractor arg0)
None __init__ (self, MeshTriPoint p, Vector3d target, float weight)
float weight (self)
None weight (self, float arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
Laplacian.Attractor operator (*args, **kwargs)
Laplacian.Attractor operator (*args, **kwargs)

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__() [1/4]

None mrmeshpy.Laplacian.Attractor.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Laplacian.Attractor.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.Laplacian.Attractor.__init__ ( self,
Laplacian.Attractor arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.Laplacian.Attractor.__init__ ( self,
MeshTriPoint p,
Vector3d target,
float weight )
Implicit aggregate constructor.

Member Function Documentation

◆ operator() [1/2]

Laplacian.Attractor mrmeshpy.Laplacian.Attractor.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Laplacian.Attractor mrmeshpy.Laplacian.Attractor.operator ( * args,
** kwargs )
static

◆ weight() [1/2]

float mrmeshpy.Laplacian.Attractor.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

◆ weight() [2/2]

None mrmeshpy.Laplacian.Attractor.weight ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_p

typing mrmeshpy.Laplacian.Attractor._offsetof_p = 0
staticprotected

◆ _offsetof_target

typing mrmeshpy.Laplacian.Attractor._offsetof_target = 16
staticprotected

◆ _offsetof_weight

typing mrmeshpy.Laplacian.Attractor._offsetof_weight = 40
staticprotected

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