Class RelativeAngleCondition

Applied Stereotypes:

Checks if the relative angle of the triggering entity, measured with respect to the reference entity, has reached a given value, within some user-specified angle tolerance.

The relative angle is generally measured as angle of the triggering entity minus angle of the reference entity.
Both angles must be measured in the same coordinate system, as specified by the user.

When the entity value is used, the angles are measured in the local coordinate system of the reference entity.
Note that for the s-t coordinate systems the orientation is measured at the local s-coordinate of each entity.

Used in:
  Name Type Cardinality AppliedStereotypes Description
  angle double 1..1 XSDattribute The angle to be reached with the defined tolerance. Unit: [rad]. Range: [-pi..pi].
  angleTolerance double 1..1 XSDattribute Tolerance around the given angle value. Unit: [rad]. Range: [0..pi].
  angleType AngleType 1..1 XSDattribute The angular coordinate to be used for the condition.
  coordinateSystem CoordinateSystem 0..1 XSDattribute Define which coordinate system is used to measure the angles of the reference entity and the triggering entity. Default: entity.
  entityRef Entity 1..1 nameRef, XSDattribute Name of the referenced entity.
XSD 1.3 Representation

<xsd:complexType name="RelativeAngleCondition">
<xsd:attribute name="entityRef" type="String" use="required"/>
<xsd:attribute name="angleType" type="AngleType" use="required"/>
<xsd:attribute name="angle" type="Double" use="required"/>
<xsd:attribute name="angleTolerance" type="Double" use="required"/>
<xsd:attribute name="coordinateSystem" type="CoordinateSystem"/>

Change log from version 1.2
  • Class created.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property angle
    • XSDattribute
  • Property angleTolerance
    • XSDattribute
  • Property angleType
    • XSDattribute
  • Property coordinateSystem
    • XSDattribute
  • Property entityRef
    • nameRef [xsdType: "string"]
    • XSDattribute