Class DistanceCondition

Applied Stereotypes:
XSDcomplexType

The current distance between an entity and a position is compared to a given distance (less, greater, equal). Several additional parameters like free space etc. can be defined. The property "alongRoute" is deprecated. If "coordinateSystem" or "relativeDistanceType" are set, "alongRoute" is ignored.

Used in:
EntityCondition
Properties
  Name Type Cardinality AppliedStereotypes Description
D alongRoute boolean 0..1 XSDattribute, deprecated True: routing is taken into account, e.g. turns will increase distance. False: straight line distance is used.
  coordinateSystem CoordinateSystem 0..1 XSDattribute Definition of the coordinate system to be used for calculations. If not provided the value is interpreted as "entity". If set, "alongRoute" is ignored.
  freespace boolean 1..1 XSDattribute True: distance is measured between closest bounding box points. False: reference point distance is used.
  relativeDistanceType RelativeDistanceType 0..1 XSDattribute Definition of the coordinate system dimension(s) to be used for calculating distances. If set, "alongRoute" is ignored. If not provided, value is interpreted as "euclideanDistance".
  routingAlgorithm RoutingAlgorithm 0..1 XSDattribute Algorithm for path selection/calculation between two positions across roads. Only relevant, if CoordinateSystem is "road"/"lane". Default value if omitted: "undefined".
  rule Rule 1..1 XSDattribute The operator (less, greater, equal).
  value double 1..1 XSDattribute The distance value. Unit: [m]. Range: [0..inf[.
  position Position 1..1 XSDelement The given position the distance is related to.
Deprecation
  • Property alongRoute deprecated. With version 1.1. Use "coordinateSystem" and "relativeDistanceType".
XSD 1.3 Representation


<xsd:complexType name="DistanceCondition">
<xsd:all>
<xsd:element name="Position" type="Position"/>
</xsd:all>
<xsd:attribute name="alongRoute" type="Boolean">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="freespace" type="Boolean" use="required"/>
<xsd:attribute name="rule" type="Rule" use="required"/>
<xsd:attribute name="value" type="Double" use="required"/>
<xsd:attribute name="coordinateSystem" type="CoordinateSystem"/>
<xsd:attribute name="relativeDistanceType" type="RelativeDistanceType"/>
<xsd:attribute name="routingAlgorithm" type="RoutingAlgorithm"/>
</xsd:complexType>

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property alongRoute
    • XSDattribute
    • deprecated [withVersion: "1.1"; comment: "Use "coordinateSystem" and "relativeDistanceType""]
  • Property coordinateSystem
    • XSDattribute
  • Property freespace
    • XSDattribute
  • Property relativeDistanceType
    • XSDattribute
  • Property routingAlgorithm
    • XSDattribute
  • Property rule
    • XSDattribute
  • Property value
    • XSDattribute
  • Property position
    • XSDelement [position: "1"]

To XSD