|
Programming Reference for VirtualLab Fusion
2022.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 | |
| abstract void | Apply (ComplexField field, SamplingParameters samplingParameters) |
| Constraint application. This function implements a distance minimizing projection operation. More... | |
| virtual void | Apply (ComplexField field, SamplingParameters samplingParameters, double projectionStrength) |
| Implement variable strength projection. More... | |
| virtual void | Apply (ComplexField field, SamplingParameters samplingParameters, double projectionStrength, out double deviation) |
| Implement variable strength projection with calculation of deviation More... | |
| Constraint () | |
| Standard constructor | |
| virtual double | GetDeviation (ComplexField field, SamplingParameters samplingParameters) |
| Calculate quadratic deviation between original field and projected field for projection strength 1 More... | |
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.
|
pure virtual |
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 |
Implement variable strength projection with calculation of deviation
| field | Field to be transformed |
| samplingParameters | The sampling parameters of the field. |
| projectionStrength | Projection strength (0: no projection; 1: standard projection |
| deviation | Returns the quadratic deviation between original field and projected field for selected projection strength |
|
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. |