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. |
|
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[. |
|
XSD 1.3 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:attribute name="routingAlgorithm" type="RoutingAlgorithm"/>
</xsd:complexType>
|
|
Stereotype Details Information |
- Class
- XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
- Property coordinateSystem
- Property entityRef
- nameRef [xsdType: "string"]
- Property freespace
- Property relativeDistanceType
- Property routingAlgorithm
- Property rule
- Property value
|
To XSD