User Tools

Site Tools


api:thinkgeo.mapsuite.routing.routingalgorithm

ThinkGeo.MapSuite.Routing.RoutingAlgorithm

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

RoutingAlgorithm()

  • This is the default constructor for the RoutingAlgorithm and should be called by inherited classes.
Remarks
  • This is the default constructor for the RoutingAlgorithm and should be called by inherited classes.
Parameters

Public Methods

GetRoute(RoutingSource,String,String)

  • N/A
Remarks
  • This method is the concrete wrapper for the abstract method GetRouteCore.This method gets the routing result based on the extent you provided. In this method, you are repsonsible for implementing a routing algorithm to get the path between two routeSegments.
Return Value
  • Type:Collection<RouteSegment>
  • Description:Routing result that contains path information.
Parameters
  • routingSource
    • Description:The routing source that contains the routeSegments to route on.
  • startFeatureId
    • Type:String
    • Description:The feature ID which represents the starting routeSegment.
  • endFeatureId
    • Type:String
    • Description:The feature ID which represents the ending routeSegment.

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

GetRouteCore(RoutingSource,String,String)

  • N/A
Remarks
  • This abstract method is called from the concrete public method GetRoute.This method gets the routing result based on the extent you provided. In this method, you are repsonsible for implementing a routing algorithm to get the path between two routeSegments.
Return Value
  • Type:Collection<RouteSegment>
  • Description:Routing result that contains path information.
Parameters
  • routingSource
    • Description:The routing source that contains the routeSegments to route on.
  • startFeatureId
    • Type:String
    • Description:The feature ID which represents the starting routeSegment.
  • endFeatureId
    • Type:String
    • Description:The feature ID which represents the ending routeSegment.

OnFindingRoute(FindingRouteRoutingAlgorithmEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

GeographyUnit

  • N/A
Remarks
  • N/A
Return Value

DistanceUnit

  • N/A
Remarks
  • N/A
Return Value

Protected Properties

Public Events

FindingRoute

  • N/A
Remarks
  • This event is called after finding the adjacent routeSegments. It wil be called many times during the route.

Event Arguments:FindingRouteRoutingAlgorithmEventArgs

api/thinkgeo.mapsuite.routing.routingalgorithm.txt · Last modified: 2017/01/12 02:38 (external edit)