PropagatedRouteGetSegment Method |
Attempts to find the parametric geometry for a particular procedure or connection segment.
Namespace:
AGI.Foundation.RouteDesign
Assembly:
AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ParametricRouteSegment GetSegment(
RouteSegment segmentDefinition
)
Public Function GetSegment (
segmentDefinition As RouteSegment
) As ParametricRouteSegment
public:
ParametricRouteSegment^ GetSegment(
RouteSegment^ segmentDefinition
)
member GetSegment :
segmentDefinition : RouteSegment -> ParametricRouteSegment
Parameters
- segmentDefinition
- Type: AGI.Foundation.RouteDesignRouteSegment
The RouteSegment corresponding to the requested parametric geometry
generated by the RoutePropagator.
Return Value
Type:
ParametricRouteSegmentThe parametric geometry corresponding to the requested segment specified to the propagator.
Exceptions Exception | Condition |
---|
InvalidOperationException | Thrown if the requested segmentDefinition
does not appear in this propagated route, indicating that it was not in the list of segments used by
the RoutePropagator to generate this instance. |
See Also