ScalarAtEndOfNumericalSegmentConstraint Constructor (Scalar, SegmentDefinition, Double, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ScalarAtEndOfNumericalSegmentConstraint(
Scalar scalar,
SegmentDefinition segment,
double desiredValue,
double tolerance
)
Public Sub New (
scalar As Scalar,
segment As SegmentDefinition,
desiredValue As Double,
tolerance As Double
)
public:
ScalarAtEndOfNumericalSegmentConstraint(
Scalar^ scalar,
SegmentDefinition^ segment,
double desiredValue,
double tolerance
)
new :
scalar : Scalar *
segment : SegmentDefinition *
desiredValue : float *
tolerance : float -> ScalarAtEndOfNumericalSegmentConstraint
Parameters
- scalar
- Type: AGI.Foundation.GeometryScalar
The Scalar to use to compare to the
desiredValue. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The SegmentDefinition whose final state will
be used to compute the Scalar. - desiredValue
- Type: SystemDouble
The desired value that the function
will be driven to. - tolerance
- Type: SystemDouble
How close the evaluated value must get to the
desiredValue to consider this constraint satisfied.
See Also