Enumeration RelativeDistanceType

Definition of the coordinate system dimension(s) to be used for calculating distances.

Used in:
DistanceCondition , RelativeDistanceCondition , TimeHeadwayCondition , TimeToCollisionCondition
Enumeration Literals
Name Applied Stereotypes Description
lateral Smallest lateral distance (y for cartesian coordinate systems, t for road-based coordinate systems).
longitudinal Smallest longitudinal distance (x for cartesian coordinate systems, s for road-based coordinate systems).
cartesianDistance deprecated Cartesian distance offset. If used together with CoordinateSystem, then the value of the CoordinateSystem is not considered.
euclidianDistance Absolute magnitude of the euclidean distance vector. CoordinateSystem defaults to entity. If CoordinateSystem is defined by user, that value is overridden.

Deprecation
  • Enumeration literal cartesianDistance deprecated. With version 1.1. Use euclideanDistance.

XSD 1.1 Representation


<xsd:simpleType name="RelativeDistanceType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="lateral"/>
<xsd:enumeration value="longitudinal"/>
<xsd:enumeration value="cartesianDistance">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="euclidianDistance"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="parameter"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>

Change log from version 1.0
  • Annotation changed
    • New Value
      Definition of the coordinate system dimension(s) to be used for calculating distances.
      From 1.0.0
      Alternative ways in which to calculate the distance in a RelativeDistanceCondition.
  • Enumeration literal 'euclidianDistance' created.
  • Enumeration literal 'lateral' changed. Annotation changed.
    • New Value
      Smallest lateral distance (y for cartesian coordinate systems, t for road-based coordinate systems).
      From 1.0.0
      Lateral distance offset.
  • Enumeration literal 'longitudinal' changed. Annotation changed.
    • New Value
      Smallest longitudinal distance (x for cartesian coordinate systems, s for road-based coordinate systems).
      From 1.0.0
      Longitudinal distance offset.
  • Enumeration literal 'cartesianDistance' changed. Annotation changed.
    • New Value
      Cartesian distance offset. If used together with CoordinateSystem, then the value of the CoordinateSystem is not considered.
      From 1.0.0
      Cartesian distance offset.
  • Enumeration literal 'cartesianDistance'. Stereotype <<deprecated>> applied.

Stereotype Details Information
  • Enumeration literal cartesianDistance
    • deprecated [withVersion: "1.1"; comment: "Use euclideanDistance"]

To XSD