User Tools

Site Tools


thinkgeo.mapsuite.routing.gettingrouteviavisitstopsroutingengineeventargs

This is an old revision of the document!


ThinkGeo.MapSuite.Routing.GettingRouteViaVisitStopsRoutingEngineEventArgs

This class represents the parameters passed out through the GettingTspVisitRoute event.

Inheritance Hierarchy

  • System.Object
    • System.EventArgs
      • ThinkGeo.MapSuite.Routing.GettingRouteViaVisitStopsRoutingEngineEventArgs

Members Summary

Public Constructors

GettingRouteViaVisitStopsRoutingEngineEventArgs()

This is the default constructor with no parameters

Remarks

N/A

Parameters

GettingRouteViaVisitStopsRoutingEngineEventArgs(IEnumerable<Int32>,IEnumerable<RouteSegment>)

This is the constructor that passed the current bestVisitSequence of locations and default isTermination value “false”

Remarks

This is the constructor that passed the current bestVisitSequence of locations and default isTermination value “false”

Parameters
  • visitSequence
    • Type:IEnumerable<Int32>
    • Description:The current bestVisitSequence of locations that you want to pass out by event.
  • routeSegments
    • Type:IEnumerable<RouteSegment>
    • Description:The RouteSement collection that represents current route

GettingRouteViaVisitStopsRoutingEngineEventArgs(IEnumerable<Int32>,IEnumerable<RouteSegment>,Boolean)

This is the constructor that passed the current bestVisitSequence of locations and a value representing whether stops current calculating.

Remarks

This is the constructor that passed the current bestVisitSequence of locations and a value representing whether stops current calculating.

Parameters
  • visitSequence
    • Type:IEnumerable<Int32>
    • Description:The current bestVisitSequence of locations that you want to pass out by event.
  • routeSegments
    • Type:IEnumerable<RouteSegment>
    • Description:A collection of route segments representing the route.
  • terminated
    • Type:Boolean
    • Description:A value represents whether stops current calculating.

Protected Constructors

Public Methods

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

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

Terminate

Gets or sets the value that allows you stops the calculating and return current result. The default value is false.

Remarks

If you set the value to true, it will stops the calculating and return current result.

Return Value
  • Type:Boolean

RouteSegments

Gets a collection of route segments representing the route.

Remarks

N/A

Return Value

VisitSequence

Gets a number collection that represent the order in which the stops are visited.

Remarks

N/A

Return Value
  • Type:Collection<Int32>

TotalDistance

The totalCost of current route

Remarks

N/A

Return Value
  • Type:Double

Protected Properties

Public Events

thinkgeo.mapsuite.routing.gettingrouteviavisitstopsroutingengineeventargs.1442545588.txt.gz · Last modified: 2015/09/18 03:06 by admin