Click or drag to resize

StateUpdaterEvaluatorModifyState Method

Modified the propagated state. The old state can be modified and returned, or a new state can be returned, however if you create a new state ensure that all elements in the state that the derived type is not updating are preserved (in other words, do not make a new empty state, add the one element you are updating, and returning that state with nothing else in it unless you truly do not care about the other elements).

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 21.1.408.0 (21.1.408.0)
Syntax
public abstract ITimeBasedState ModifyState(
	ITimeBasedState propagateState
)

Parameters

propagateState
Type: AGI.Foundation.CoordinatesITimeBasedState
The state to modify.

Return Value

Type: ITimeBasedState
The modified state.
See Also