Click or drag to resize

ScalarConstraint Constructor (IServiceProvider, Scalar, Double, Double)

Initializes a new instance with the specified constrained object, scalar, minimum value, and maximum value.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public ScalarConstraint(
	IServiceProvider constrainedObject,
	Scalar scalar,
	double minimumValue,
	double maximumValue
)

Parameters

constrainedObject
Type: SystemIServiceProvider
The object to which this constraint applies. See ConstrainedObject for more information.
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 both AccessComputation and AccessQuery after being constructed using this constructor.

See Also