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: 24.3.420.0 (24.3.420.0)
Syntax public ScalarConstraint(
IServiceProvider constrainedObject,
Scalar scalar,
double minimumValue,
double maximumValue
)
Public Sub New (
constrainedObject As IServiceProvider,
scalar As Scalar,
minimumValue As Double,
maximumValue As Double
)
public:
ScalarConstraint(
IServiceProvider^ constrainedObject,
Scalar^ scalar,
double minimumValue,
double maximumValue
)
new :
constrainedObject : IServiceProvider *
scalar : Scalar *
minimumValue : float *
maximumValue : float -> ScalarConstraint
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 See Also