Class RelativeDistanceCondition

Applied Stereotypes:
XSDcomplexType

The current relative distance of a triggering entity/entities to a reference entity is compared to a given value. The logical operator used for comparison is defined in the rule attribute.

Used in:
EntityCondition
Properties
Name Type Cardinality AppliedStereotypes Description
coordinateSystem CoordinateSystem 0..1 XSDattribute Definition of the coordinate system to be used for calculations. If not provided the value is interpreted as "entity".
entityRef Entity 1..1 nameRef, XSDattribute Reference entity.
freespace boolean 1..1 XSDattribute True: distance is measured between closest bounding box points. False: reference point distance is used.
relativeDistanceType RelativeDistanceType 1..1 XSDattribute Definition of the coordinate system dimension(s) to be used for calculating distances.
rule Rule 1..1 XSDattribute The operator (less, greater, equal).
value double 1..1 XSDattribute The distance value. Unit: m; Range: [0..inf[.

XSD 1.1 Representation


<xsd:complexType name="RelativeDistanceCondition">
<xsd:attribute name="entityRef" type="String" use="required"/>
<xsd:attribute name="freespace" type="Boolean" use="required"/>
<xsd:attribute name="relativeDistanceType" type="RelativeDistanceType" 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:complexType>

Change log from version 1.0
  • Property 'coordinateSystem' created.
  • Property 'relativeDistanceType'. Annotation changed.
    • New Value
      Definition of the coordinate system dimension(s) to be used for calculating distances.
      From 1.0.0
      The domain the distance is calculated in.

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property coordinateSystem
    • XSDattribute
  • Property entityRef
    • nameRef [xsdType: "string"]
    • XSDattribute
  • Property freespace
    • XSDattribute
  • Property relativeDistanceType
    • XSDattribute
  • Property rule
    • XSDattribute
  • Property value
    • XSDattribute

To XSD To XSD Tree