ScalarAtEndOfSegmentConstraint Constructor (Scalar, SegmentDefinition, Double, Double, TimeBasedStateParameter, EndsOfSegment) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ScalarAtEndOfSegmentConstraint(
Scalar scalar,
SegmentDefinition segment,
double desiredValue,
double tolerance,
TimeBasedStateParameter parameter,
EndsOfSegment endOfSegment
)
Public Sub New (
scalar As Scalar,
segment As SegmentDefinition,
desiredValue As Double,
tolerance As Double,
parameter As TimeBasedStateParameter,
endOfSegment As EndsOfSegment
)
public:
ScalarAtEndOfSegmentConstraint(
Scalar^ scalar,
SegmentDefinition^ segment,
double desiredValue,
double tolerance,
TimeBasedStateParameter^ parameter,
EndsOfSegment endOfSegment
)
new :
scalar : Scalar *
segment : SegmentDefinition *
desiredValue : float *
tolerance : float *
parameter : TimeBasedStateParameter *
endOfSegment : EndsOfSegment -> ScalarAtEndOfSegmentConstraint
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. - parameter
- Type: AGI.Foundation.GeometryTimeBasedStateParameter
The parameter to use to when computing the desiredValue. - endOfSegment
- Type: AGI.Foundation.NumericalMethodsEndsOfSegment
Which state in the segment should be used to evaluate the scalar.
See Also