User Tools

Site Tools


thinkgeo.mapsuite.routing.routesegment

ThinkGeo.MapSuite.Routing.RouteSegment

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

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
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetType.28.29
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
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Distance

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Distance

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

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Weight

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

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#RouteSegmentType

Return Value
  • Type:Int32

StartPoint

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPoint

Return Value

StartPointAdjacentIds

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPointAdjacentIds

Return Value
  • Type:Collection<String>

EndPoint

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPoint

Return Value

EndPointAdjacentIds

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

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPointAdjacentIds

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

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#FeatureId

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

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#DrivingDirection

Return Value

Protected Properties

Public Events

thinkgeo.mapsuite.routing.routesegment.txt · Last modified: 2017/03/16 21:59 (external edit)