User Tools

Site Tools


thinkgeo.mapsuite.routing.routesegment

This is an old revision of the document!


ThinkGeo.MapSuite.Routing.RouteSegment

<!– Class –> This class repesents a routeSegment, which is a base element in routing.

Remarks

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>

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodRouteSegment This is the default constructor for the class.
Public MethodRouteSegment String, Int32, Single, PointShape, IEnumerable<String>, PointShape, IEnumerable<String> This is the constructor for the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyDistance Single
Public PropertyDrivingDirection 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.
Public PropertyEndPoint PointShape Gets or sets a value representing the ending vertex of the routeSegment.
Public PropertyEndPointAdjacentIds Collection<String> Gets a value representing the adjacent feature IDs of the end point.
Public PropertyFeatureId 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.
Public PropertyRouteSegmentType 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.
Public PropertyStartPoint PointShape Gets or sets a value representing the starting vertex of the routeSegment.
Public PropertyStartPointAdjacentIds Collection<String> Gets a value represents the adjacent feature ids of start point.
Public PropertyWeight Single Gets or sets a value representing the weight of the routeSegment. It can represent, for example, the routeSegment length.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

RouteSegment()

This is the default constructor for the class.

Remarks

This is the default constructor for the class.

Parameters

Name Type Description

Go Back

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

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.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Distance

Remarks

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 Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

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

Return Value

Return Type
DrivingDirection<!– ThinkGeo.MapSuite.Routing.DrivingDirection –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

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:<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 Value

Return Type
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

EndPointAdjacentIds

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

Remarks

Return Value

Return Type
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

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:<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 Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

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

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

StartPoint

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

Remarks

Return Value

Return Type
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

StartPointAdjacentIds

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

Remarks

Return Value

Return Type
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

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:<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 Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Routing.RouteSegment –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.routing.routesegment.1440040134.txt.gz · Last modified: 2015/09/18 03:06 (external edit)