Class LaplacianCurveDeformer
Variant of LaplacianMeshDeformer that can be applied to 3D curve.
Solve in each dimension can be disabled using .SolveX/Y/Z
Currently only supports uniform weights (in Initialize)
Inheritance
LaplacianCurveDeformer
Namespace: g3
Assembly: cs.temp.dll.dll
public class LaplacianCurveDeformer
Constructors
Declaration
public LaplacianCurveDeformer(DCurve3 curve)
Parameters
Type |
Name |
Description |
DCurve3 |
curve |
|
Fields
Declaration
public bool ConvergeFailed
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
public bool UseSoftConstraintNormalEquations
Field Value
Methods
Declaration
public void ClearConstraints()
Declaration
Declaration
public bool IsConstrained(int vID)
Parameters
Type |
Name |
Description |
Int32 |
vID |
|
Returns
Declaration
public void SetConstraint(int vID, Vector3d targetPos, double weight, bool bForceToFixedPos = false)
Parameters
Declaration
public bool Solve(Vector3d[] Result)
Parameters
Returns
Declaration
public bool SolveAndUpdateCurve()
Returns
Declaration
public bool SolveMultipleCG(Vector3d[] Result)
Parameters
Returns
Declaration
public bool SolveMultipleRHS(Vector3d[] Result)
Parameters
Returns