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).
D 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.3 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>

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

To XSD