MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PositionVertsSmoothlyParams Class Reference

Generated from class MR.PositionVertsSmoothlyParams. This is the non-const half of the class. More...

+ Inheritance diagram for MR.PositionVertsSmoothlyParams:

Public Member Functions

unsafe PositionVertsSmoothlyParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe PositionVertsSmoothlyParams (MR.Const_VertBitSet? region, MR.Const_VertCoords? vertShifts, float stabilizer, MR.Std._ByValue_Function_FloatFuncFromMRVertId vertStabilizers, MR.Std._ByValue_Function_FloatFuncFromMRUndirectedEdgeId edgeWeights)
 Constructs MR.PositionVertsSmoothlyParams elementwise.
 
unsafe PositionVertsSmoothlyParams (MR._ByValue_PositionVertsSmoothlyParams _other)
 Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.
 
 PositionVertsSmoothlyParams (Const_PositionVertsSmoothlyParams _other)
 Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.
 
 PositionVertsSmoothlyParams (PositionVertsSmoothlyParams _other)
 Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.
 
unsafe MR.PositionVertsSmoothlyParams assign (MR._ByValue_PositionVertsSmoothlyParams _other)
 Generated from method MR.PositionVertsSmoothlyParams.operator=.
 

Properties

new unsafe MR.? Const_VertBitSet region [get, set]
 
new unsafe MR.? Const_VertCoords vertShifts [get, set]
 optional additional shifts of each vertex relative to smooth position
 
new unsafe ref float stabilizer [get]
 the more the value, the bigger attraction of each vertex to its original position
 
new unsafe MR.Std.Function_FloatFuncFromMRVertId vertStabilizers [get, protected set]
 if specified then it is used instead of stabilizer
 
new unsafe MR.Std.Function_FloatFuncFromMRUndirectedEdgeId edgeWeights [get, protected set]
 if specified then it is used for edge weights instead of default 1
 

Detailed Description

Generated from class MR.PositionVertsSmoothlyParams. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PositionVertsSmoothlyParams() [1/5]

unsafe MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ PositionVertsSmoothlyParams() [2/5]

unsafe MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( MR.Const_VertBitSet? region,
MR.Const_VertCoords? vertShifts,
float stabilizer,
MR.Std._ByValue_Function_FloatFuncFromMRVertId vertStabilizers,
MR.Std._ByValue_Function_FloatFuncFromMRUndirectedEdgeId edgeWeights )
inline

Constructs MR.PositionVertsSmoothlyParams elementwise.

◆ PositionVertsSmoothlyParams() [3/5]

unsafe MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( MR._ByValue_PositionVertsSmoothlyParams _other)
inline

Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.

◆ PositionVertsSmoothlyParams() [4/5]

MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( Const_PositionVertsSmoothlyParams _other)
inline

Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.

◆ PositionVertsSmoothlyParams() [5/5]

MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( PositionVertsSmoothlyParams _other)
inline

Generated from constructor MR.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams.

Member Function Documentation

◆ assign()

unsafe MR.PositionVertsSmoothlyParams MR.PositionVertsSmoothlyParams.assign ( MR._ByValue_PositionVertsSmoothlyParams _other)
inline

Generated from method MR.PositionVertsSmoothlyParams.operator=.

Property Documentation

◆ edgeWeights

new unsafe MR.Std.Function_FloatFuncFromMRUndirectedEdgeId MR.PositionVertsSmoothlyParams.edgeWeights
getprotected set

if specified then it is used for edge weights instead of default 1

◆ region

new unsafe MR.? Const_VertBitSet MR.PositionVertsSmoothlyParams.region
getset

which vertices on mesh are smoothed, nullptr means all vertices; it must not include all vertices of a mesh connected component unless stabilizer > 0

◆ stabilizer

new unsafe ref float MR.PositionVertsSmoothlyParams.stabilizer
get

the more the value, the bigger attraction of each vertex to its original position

◆ vertShifts

new unsafe MR.? Const_VertCoords MR.PositionVertsSmoothlyParams.vertShifts
getset

optional additional shifts of each vertex relative to smooth position

◆ vertStabilizers

new unsafe MR.Std.Function_FloatFuncFromMRVertId MR.PositionVertsSmoothlyParams.vertStabilizers
getprotected set

if specified then it is used instead of stabilizer


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