Click or drag to resize

ScalarDifferenceOfSegmentInequalityConstraint Constructor (Scalar, SegmentDefinition, InequalityBoundType, Double, Double, ScalarConstraintDifference, InequalityConstraintScaling, Double)

Initializes a new instance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public ScalarDifferenceOfSegmentInequalityConstraint(
	Scalar scalar,
	SegmentDefinition segment,
	InequalityBoundType boundType,
	double boundValue,
	double tolerance,
	ScalarConstraintDifference constraintDifference,
	InequalityConstraintScaling scaling,
	double weight
)

Parameters

scalar
Type: AGI.Foundation.Geometry.Scalar
The Scalar to use to compare to the boundValue.
segment
Type: AGI.Foundation.SegmentPropagation.SegmentDefinition
The SegmentDefinition whose initial and final states will be used to compute the Scalar.
boundType
Type: AGI.Foundation.NumericalMethods.InequalityBoundType
Whether the boundValue represents a lower or an upper bound.
boundValue
Type: System.Double
The lower or upper bound value that the function will be driven to satisfy if it is not already satisfied.
tolerance
Type: System.Double
How close the evaluated value must get to the boundValue to consider this inequality constraint to be active and on the constraint manifold.
constraintDifference
Type: AGI.Foundation.NumericalMethods.ScalarConstraintDifference
The type of the difference to evaluate (first minus last, or last minus first...).
scaling
Type: AGI.Foundation.NumericalMethods.InequalityConstraintScaling
The type of scaling to be used on this constraint.
weight
Type: System.Double
The weight of this constraint compared to the cost function and other constraints.
See Also