Click or drag to resize

ScalarAtEndOfNumericalSegmentConstraint Constructor (Scalar, SegmentDefinition, Double, Double, EndsOfSegment)

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 ScalarAtEndOfNumericalSegmentConstraint(
	Scalar scalar,
	SegmentDefinition segment,
	double desiredValue,
	double tolerance,
	EndsOfSegment endOfSegment
)

Parameters

scalar
Type: AGI.Foundation.Geometry.Scalar
The Scalar to use to compare to the desiredValue.
segment
Type: AGI.Foundation.SegmentPropagation.SegmentDefinition
The SegmentDefinition whose final state will be used to compute the Scalar.
desiredValue
Type: System.Double
The desired value that the function will be driven to.
tolerance
Type: System.Double
How close the evaluated value must get to the desiredValue to consider this constraint satisfied.
endOfSegment
Type: AGI.Foundation.NumericalMethods.EndsOfSegment
Which state in the segment should be used to evaluate the scalar.
See Also