User Tools

Site Tools


thinkgeo.mapsuite.routing.routesegment

This is an old revision of the document!


ThinkGeo.MapSuite.Routing.RouteSegment

This class repesents a routeSegment, which is a base element in routing.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Routing.RouteSegment

Members Summary

Public Constructors

RouteSegment()

This is the default constructor for the class.

Remarks

This is the default constructor for the class.

Parameters

RouteSegment(String,Int32,Single,PointShape,IEnumerable<String>,PointShape,IEnumerable<String>)

This is the constructor for the class.

Remarks

This constructor allows you to provide the information for the routeSegment.

Parameters
  • featureId
    • Type:String
    • Description:This parameter is the feature ID of the routeSegment. It is an identity of a single routeSegment, thus you cannot set the feature ID to two or more routeSegments.
  • routeSegmentType
    • Type:Int32
    • Description:This parameter specifies the type of routeSegment. You can define a value that represents kind of routeSegment, for example: 0 represents a local routeSegment, 1 represents a major routeSegment, 2 represents a highway.
  • weight
    • Type:Single
    • Description:This parameter is the weight of the routeSegment. It can represent, for example, the routeSegment length.
  • startPoint
    • Description:This parameter is the starting vertex of the routeSegment.
  • startPointAdjacentIds
    • Type:IEnumerable<String>
    • Description:This parameter is the adjacent feature IDs of the start point.
  • endPoint
    • Description:This parameter is the ending vertex of the routeSegment.
  • endPointAdjacentIds
    • Type:IEnumerable<String>
    • Description:This parameter is the adjacent feature IDs of the end point.

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

hxQ=()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • 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

Distance

N/A

Remarks

N/A

Return Value
  • Type:Single

Weight

Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length.

Remarks

N/A

Return Value
  • Type:Single

RouteSegmentType

Gets or sets a value representing the type of routeSegment. You can define a value that represents kind of routeSegment, for example: 0 represents a local routeSegment, 1 represents a major routeSegment, 2 represents a highway.

Remarks

N/A

Return Value
  • Type:Int32

StartPoint

Gets or sets a value representing the starting vertex of the routeSegment.

Remarks

N/A

Return Value

StartPointAdjacentIds

Gets a value represents the adjacent feature ids of start point.

Remarks

N/A

Return Value
  • Type:Collection<String>

EndPoint

Gets or sets a value representing the ending vertex of the routeSegment.

Remarks

N/A

Return Value

EndPointAdjacentIds

Gets a value representing the adjacent feature IDs of the end point.

Remarks

N/A

Return Value
  • Type:Collection<String>

FeatureId

Gets or sets a value representing the feature ID of the routeSegment. It is an identity of a single routeSegment, thus you cannot set the feature ID to two or more routeSegments.

Remarks

N/A

Return Value
  • Type:String

DrivingDirection

Gets or sets a value representing the next driving direction of the routeSegment. For example, if you are driving on the current routeSegment and will turn right on the next routeSegment, the value will be Right.

Remarks

N/A

Return Value

Protected Properties

Public Events

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