Axis
Supertype: AbstractAxis
Definition: axis along or around which the Component moves relative to a coordinate system.
Version Info
| Introduced | Deprecated | Updated | |—:|—:|—:| | 1.7 | | 2.7 (Previous: 2.6) |
Inherited Relations
| Name | Type | Int | Dep | Multiplicity | Description | isAxisOf | Motion | 1.7 | | 0..1 | |
Constraints
| Error Message | OCL Expression | | The value MUST be a unit vector. | val:AxisValueMustBeUnitVector
a sh:NodeShape ;
sh:message "Axis value must be a unit vector." ;
sh:targetClass mt:Axis ;
sh:sparql [
a sh:SPARQLConstraint ;
sh:message "'value' property must form a unit vector: sqrt(x^2 + y^2 + z^2) = 1." ;
sh:select """
SELECT $this
WHERE {
$this mt:value ?vec .
?vec mt:x ?x ; mt:y ?y ; mt:z ?z .
FILTER ( ABS( SQRT((?x*?x) + (?y*?y) + (?z*?z)) - 1.0 ) > 1e-6 )
}
""" ;
] .
|