Click or drag to resize

CompositeProfileSegment Constructor (ProfileSegment, Duration, ProfileSegment)

Create a new instance based on two profile segments and the time at which to transition from one to the next.

Namespace:  AGI.Foundation.RouteDesign.Advanced
Assembly:  AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public CompositeProfileSegment(
	ProfileSegment firstSegment,
	Duration timeAtChange,
	ProfileSegment secondSegment
)

Parameters

firstSegment
Type: AGI.Foundation.RouteDesign.AdvancedProfileSegment
The first profile segment.
timeAtChange
Type: AGI.Foundation.TimeDuration
The time along the firstSegment at which to transition to the secondSegment. This cannot be greater than the TotalTime spent in the first segment.
secondSegment
Type: AGI.Foundation.RouteDesign.AdvancedProfileSegment
The second profile segment.
See Also