This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.routing.routesegment [2015/09/18 03:06] admin |
thinkgeo.mapsuite.routing.routesegment [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Routing.RouteSegment ====== | ====== ThinkGeo.MapSuite.Routing.RouteSegment ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class repesents a routeSegment, which is a base element in routing. | This class repesents a routeSegment, which is a base element in routing. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 8: | Line 11: | ||
** {{wiki:PublicMethod.gif|}} RouteSegment() ** | ** {{wiki:PublicMethod.gif|}} RouteSegment() ** | ||
- | This is the default constructor for the class. | + | * //This is the default constructor for the class.// |
== Remarks == | == Remarks == | ||
- | This is the default constructor for the class. | + | * //This is the default constructor for the class.// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
** {{wiki:PublicMethod.gif|}} RouteSegment(String,Int32,Single,PointShape,IEnumerable<String>,PointShape,IEnumerable<String>) ** | ** {{wiki:PublicMethod.gif|}} RouteSegment(String,Int32,Single,PointShape,IEnumerable<String>,PointShape,IEnumerable<String>) ** | ||
- | This is the constructor for the class. | + | * //This is the constructor for the class.// |
== Remarks == | == Remarks == | ||
- | This constructor allows you to provide the information for the routeSegment. | + | * //This constructor allows you to provide the information for the routeSegment.// |
== Parameters == | == Parameters == | ||
* //featureId// | * //featureId// | ||
Line 52: | Line 55: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 64: | Line 67: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 80: | Line 83: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 92: | Line 95: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 105: | Line 108: | ||
** {{wiki:ProtectedMethod.gif|}} hxQ=() ** | ** {{wiki:ProtectedMethod.gif|}} hxQ=() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 117: | Line 120: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 129: | Line 132: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 == | == Return Value == | ||
Line 144: | Line 147: | ||
N/A | N/A | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Distance |
== Return Value == | == Return Value == | ||
* Type:Single | * Type:Single | ||
Line 152: | Line 155: | ||
Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length. | Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length. | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Weight |
== Return Value == | == Return Value == | ||
* Type:Single | * Type:Single | ||
Line 160: | Line 163: | ||
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. | 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 == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#RouteSegmentType |
== Return Value == | == Return Value == | ||
* Type:Int32 | * Type:Int32 | ||
Line 168: | Line 171: | ||
Gets or sets a value representing the starting vertex of the routeSegment. | Gets or sets a value representing the starting vertex of the routeSegment. | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPoint |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
Line 176: | Line 179: | ||
Gets a value represents the adjacent feature ids of start point. | Gets a value represents the adjacent feature ids of start point. | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPointAdjacentIds |
== Return Value == | == Return Value == | ||
* Type:Collection<String> | * Type:Collection<String> | ||
Line 184: | Line 187: | ||
Gets or sets a value representing the ending vertex of the routeSegment. | Gets or sets a value representing the ending vertex of the routeSegment. | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPoint |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
Line 192: | Line 195: | ||
Gets a value representing the adjacent feature IDs of the end point. | Gets a value representing the adjacent feature IDs of the end point. | ||
== Remarks == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPointAdjacentIds |
== Return Value == | == Return Value == | ||
* Type:Collection<String> | * Type:Collection<String> | ||
Line 200: | Line 203: | ||
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. | 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 == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#FeatureId |
== Return Value == | == Return Value == | ||
* Type:String | * Type:String | ||
Line 208: | Line 211: | ||
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. | 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 == | == Remarks == | ||
- | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#DrivingDirection |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Routing.DrivingDirection|DrivingDirection]] | * Type:[[ThinkGeo.MapSuite.Routing.DrivingDirection|DrivingDirection]] |