ScalarConstraint Constructor (Scalar, Double, Double) |
Initializes a new instance with the specified scalar, minimum value, and maximum value.
Namespace:
AGI.Foundation.Access.Constraints
Assembly:
AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ScalarConstraint(
Scalar scalar,
double minimumValue,
double maximumValue
)
Public Sub New (
scalar As Scalar,
minimumValue As Double,
maximumValue As Double
)
public:
ScalarConstraint(
Scalar^ scalar,
double minimumValue,
double maximumValue
)
new :
scalar : Scalar *
minimumValue : float *
maximumValue : float -> ScalarConstraint
Parameters
- scalar
- Type: AGI.Foundation.GeometryScalar
The scalar function to constrain. - minimumValue
- Type: SystemDouble
The minimum allowed scalar value. - maximumValue
- Type: SystemDouble
The maximum allowed scalar value.
Remarks
This constraint is ready for use with AccessComputation after being constructed using
this constructor. However, before evaluating this constraint
as part of an AccessQuery, it is necessary to set the ConstrainedObject property.
See Also