This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Projection operator for constraint on a ComplexField object.
More...
|
|
ConstraintDomain | Domain |
| | Reference to the constraint domain containing this object.
|
| |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Projection operator for constraint on a ComplexField object.
◆ Apply() [1/2]
Constraint application. This function implements a distance minimizing projection operation.
- Parameters
-
| field | Field the constraint is to be applied to. |
| samplingParameters | The sampling parameters of the field. |
◆ Apply() [2/2]
Implement variable strength projection.
- Parameters
-
| field | Field to be transformed |
| samplingParameters | The sampling parameters of the field. |
| projectionStrength | Projection strength (0: no projection; 1: standard projection |
◆ GetDeviation()
Calculate quadratic deviation between original field and projected field for projection strength 1.
- Parameters
-
| field | Original field. Remains unmodified during this operation. |
| samplingParameters | The sampling parameters of the field. |
- Returns
- Quadratic deviation between original field and projected field for projection strength 1