|
Programming Reference for VirtualLab Fusion
2026.1
|
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...
Public Member Functions | |
| void | Apply (ComplexField field, SamplingParameters samplingParameters) |
| Constraint application. This function implements a distance minimizing projection operation. | |
| virtual void | Apply (ComplexField field, SamplingParameters samplingParameters, double projectionStrength) |
| Implement variable strength projection. | |
| Constraint () | |
| Standard constructor. | |
| virtual double | GetDeviation (ComplexField field, SamplingParameters samplingParameters) |
| Calculate quadratic deviation between original field and projected field for projection strength 1. | |
Public Attributes | |
| 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.
|
abstract |
Constraint application. This function implements a distance minimizing projection operation.
| field | Field the constraint is to be applied to. |
| samplingParameters | The sampling parameters of the field. |
|
virtual |
Implement variable strength projection.
| field | Field to be transformed |
| samplingParameters | The sampling parameters of the field. |
| projectionStrength | Projection strength (0: no projection; 1: standard projection |
|
virtual |
Calculate quadratic deviation between original field and projected field for projection strength 1.
| field | Original field. Remains unmodified during this operation. |
| samplingParameters | The sampling parameters of the field. |