Click or drag to resize

ScalarConstraint Constructor (IServiceProvider, Scalar, Double)

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

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

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.
Remarks

This constraint is ready for use with both AccessComputation and AccessQuery after being constructed using this constructor.

See Also