|
ENTITY direction_node SUBTYPE OF (direction); node_1 : node_representation; node_2 : node_representation; DERIVE SELF\direction.direction_ratios : LIST [2:3] OF REAL := build_direction_node (node_1, node_2); WHERE WR1: SIZEOF (QUERY(item <* node_1\representation.items | 'GEOMETRY_SCHEMA.CARTESIAN_POINT' IN TYPEOF (item))) = 1; WR2: SIZEOF (QUERY(item <* node_2\representation.items | 'GEOMETRY_SCHEMA.CARTESIAN_POINT' IN TYPEOF (item))) = 1; WR3: NOT ((direction_ratios[1] = 0.0) AND (direction_ratios[2] = 0.0) AND (direction_ratios[3] = 0.0)); END_ENTITY; -- direction_node |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; direction direction_ratios: LIST [2:3] OF REAL; direction_node node_1: node_representation; node_2: node_representation; (RT) (DER) direction_ratios: LIST [2:3] OF REAL; |
Global rules for this entity data type- |