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
)
Public Sub New (
firstSegment As ProfileSegment,
timeAtChange As Duration,
secondSegment As ProfileSegment
)
public:
CompositeProfileSegment(
ProfileSegment^ firstSegment,
Duration timeAtChange,
ProfileSegment^ secondSegment
)
new :
firstSegment : ProfileSegment *
timeAtChange : Duration *
secondSegment : ProfileSegment -> CompositeProfileSegment
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