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
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".
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.1 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:complexType>

Change log from version 1.0
  • Annotation changed
    • New Value
      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.
      From 1.0.0
      The current distance between an entity and a reference entity is compared to a given distance (less, greater, equal). Several additional parameters like free space etc. can be defined.
  • Property 'coordinateSystem' created.
  • Property 'relativeDistanceType' created.
  • Property 'alongRoute'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'alongRoute'. Stereotype <<deprecated>> applied.
  • Property 'value'. Annotation changed.
    • New Value
      The distance value. Unit: m; Range: [0..inf[.
      From 1.0.0
      The distance value. Unit: s; Range: [0..inf[.

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 rule
    • XSDattribute
  • Property value
    • XSDattribute
  • Property position
    • XSDelement [position: "1"]

To XSD To XSD Tree