|
ENTITY csg_shape_representation SUBTYPE OF (shape_representation); WHERE wr1: SELF . context_of_items \ geometric_representation_context . coordinate_space_dimension = 3 ; wr2: SIZEOF ( QUERY ( it <* SELF . items | ( SIZEOF ( [ 'aic_csg.csg_solid' , 'aic_csg.mapped_item' , 'aic_csg.axis2_placement_3d' , 'aic_csg.solid_replica' , 'aic_csg.revolved_face_solid' , 'aic_csg.extruded_face_solid' ] * TYPEOF ( it ) ) <> 1 ) ) ) = 0 ; wr3: SIZEOF ( QUERY ( mi <* QUERY ( it <* SELF . items | ( 'aic_csg.mapped_item' IN TYPEOF ( it ) ) ) | NOT ( 'aic_csg.csg_shape_representation' IN TYPEOF ( mi \ mapped_item . mapping_source . mapped_representation ) ) ) ) = 0 ; wr4: SIZEOF ( QUERY ( sr <* QUERY ( it <* SELF . items | ( 'aic_csg.solid_replica' IN TYPEOF ( it ) ) ) | ( SIZEOF ( [ 'aic_csg.csg_solid' , 'aic_csg.revolved_face_solid' , 'aic_csg.extruded_face_solid' ] * TYPEOF ( sr \ solid_replica . parent_solid ) ) = 0 ) ) ) = 0 ; wr5: SIZEOF ( QUERY ( it <* SELF . items | NOT ( 'aic_csg.axis2_placement_3d' IN TYPEOF ( it ) ) ) ) > 0 ; END_ENTITY; -- csg_shape_representation |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; shape_representation - csg_shape_representation - |
Global rules for this entity data type- |
public interface ECsg_shape_representation extends EShape_representation |
public class CCsg_shape_representation implements ECsg_shape_representation |
public class ACsg_shape_representation extends AEntitypublic ECsg_shape_representation getByIndex(int index)public ECsg_shape_representation getCurrentMember(SdaiIterator it) |