Class EdgeStop
Represents a concrete routing stop within the Route path.
This contains information about the planed lane to use, the actual lane being used
and the reference to the concrete edge of the network.
Inheritance
System.Object
EdgeStop
Implements
System.IEquatable<EdgeStop>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Environments
Assembly: Mars.Interfaces.dll
Syntax
public sealed class EdgeStop : IEquatable<EdgeStop>
Constructors
| Improve this Doc View SourceEdgeStop(ISpatialEdge)
Creates a new edge stop with an ISpatialEdge as the underlying reference
Declaration
public EdgeStop(ISpatialEdge spatialEdge)
Parameters
Type | Name | Description |
---|---|---|
ISpatialEdge | spatialEdge | The edge to associate |
Properties
| Improve this Doc View SourceDesiredLane
Gets the planed lane of the path to be used by the entity
Declaration
public int DesiredLane { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DriveDirection
Gets the compass style driving direction this edge stop
Declaration
public DirectionType? DriveDirection { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DirectionType> |
Edge
Gets the reference to current underlying edge in the ISpatialGraphEnvironment
Declaration
public ISpatialEdge Edge { get; }
Property Value
Type | Description |
---|---|
ISpatialEdge |
Methods
| Improve this Doc View SourceEquals(EdgeStop)
Represents a concrete routing stop within the Route path.
This contains information about the planed lane to use, the actual lane being used
and the reference to the concrete edge of the network.
Declaration
public bool Equals(EdgeStop other)
Parameters
Type | Name | Description |
---|---|---|
EdgeStop | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Represents a concrete routing stop within the Route path.
This contains information about the planed lane to use, the actual lane being used
and the reference to the concrete edge of the network.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Represents a concrete routing stop within the Route path.
This contains information about the planed lane to use, the actual lane being used
and the reference to the concrete edge of the network.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>