ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> This class repesents a routeSegment, which is a base element in routing.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment</a>
*System.Object **ThinkGeo.MapSuite.Routing.RouteSegment
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This is the default constructor for the class. | ||
![]() | String, Int32, Single, PointShape, IEnumerable<String>, PointShape, IEnumerable<String> | This is the constructor for the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Single | ||
![]() | 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. | |
![]() | PointShape | Gets or sets a value representing the ending vertex of the routeSegment. | |
![]() | Collection<String> | Gets a value representing the adjacent feature IDs of the end point. | |
![]() | String | 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. | |
![]() | Int32 | 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. | |
![]() | PointShape | Gets or sets a value representing the starting vertex of the routeSegment. | |
![]() | Collection<String> | Gets a value represents the adjacent feature ids of start point. | |
![]() | Single | Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is the default constructor for the class.
This is the default constructor for the class.
Name | Type | Description |
---|
This is the constructor for the class.
This constructor allows you to provide the information for the routeSegment.
Name | Type | Description |
---|---|---|
featureId | String<!– System.String –> | 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 | Int32<!– System.Int32 –> | 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 | Single<!– System.Single –> | This parameter is the weight of the routeSegment. It can represent, for example, the routeSegment length. |
startPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the starting vertex of the routeSegment. |
startPointAdjacentIds | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter is the adjacent feature IDs of the start point. |
endPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the ending vertex of the routeSegment. |
endPointAdjacentIds | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | This parameter is the adjacent feature IDs of the end point. |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Equals.28Object.29</a>
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetHashCode.28.29</a>
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#GetType.28.29</a>
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#ToString.28.29</a>
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Finalize.28.29</a>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#MemberwiseClone.28.29</a>
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Distance” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Distance</a>
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#DrivingDirection” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#DrivingDirection</a>
Return Type |
---|
DrivingDirection<!– ThinkGeo.MapSuite.Routing.DrivingDirection –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
Gets or sets a value representing the ending vertex of the routeSegment.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPoint” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPoint</a>
Return Type |
---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
Gets a value representing the adjacent feature IDs of the end point.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPointAdjacentIds” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#EndPointAdjacentIds</a>
Return Type |
---|
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#FeatureId” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#FeatureId</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#RouteSegmentType” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#RouteSegmentType</a>
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
Gets or sets a value representing the starting vertex of the routeSegment.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPoint” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPoint</a>
Return Type |
---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
Gets a value represents the adjacent feature ids of start point.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPointAdjacentIds” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#StartPointAdjacentIds</a>
Return Type |
---|
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back
Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Weight” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RouteSegment#Weight</a>
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back