ENTITY physical_unit_shape_model ABSTRACT SUBTYPE OF (shape_representation); shape_characterized_definition : part_view_definition; shape_material_condition : material_condition; centroid_location : OPTIONAL cartesian_point; shape_environment : application_environment; shape_extent : shape_extent; shape_approximation_level : shape_approximation_level; mass_property_quality : mass_property_quality; DERIVE principal_part_shape : SET [0:1] OF shape_representation_relationship := bag_to_set(QUERY( gmr <* USEDIN(SELF, 'PRODUCT_PROPERTY_REPRESENTATION_SCHEMA.SHAPE_REPRESENTATION_RELATIONSHIP.REP_2') | (gmr\Representation_relationship.name = 'principal part shape'))); WHERE wr1: NOT ('PACKAGED_PART_BLACK_BOX_MODEL_XIM.PACKAGED_PART_ARMX' IN TYPEOF(shape_characterized_definition)); wr2: SIZEOF(USEDIN(SELF, 'SHAPE_PROPERTY_ASSIGNMENT_XIM.SHAPE_DESCRIPTION_ASSOCIATION.REPRESENTATION'))=0; wr3: SIZEOF(principal_part_shape) < 2; END_ENTITY; -- physical_unit_shape_model |
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 - physical_unit_shape_model shape_characterized_definition: part_view_definition; shape_material_condition: material_condition; (OPT) centroid_location: cartesian_point; shape_environment: application_environment; shape_extent: shape_extent; shape_approximation_level: shape_approximation_level; mass_property_quality: mass_property_quality; (DER) principal_part_shape: SET [0:1] OF shape_representation_relationship; |
physical_unit_3d_shape_model (PHYSICAL_UNIT_3D_SHAPE_XIM) |
physical_unit_planar_shape_model (PHYSICAL_UNIT_2D_SHAPE_XIM) |
physical_unit_shape_model_subtypes (PACKAGED_PART_WHITE_BOX_MODEL_XIM) |
Global rules for this entity data type- |
public interface EPhysical_unit_shape_model extends EShape_representationshape_characterized_definition (explicit attribute)boolean testShape_characterized_definition(EPhysical_unit_shape_model type)EPart_view_definition getShape_characterized_definition(EPhysical_unit_shape_model type) void setShape_characterized_definition(EPhysical_unit_shape_model type, EPart_view_definition value) void unsetShape_characterized_definition(EPhysical_unit_shape_model type) shape_material_condition (explicit attribute)boolean testShape_material_condition(EPhysical_unit_shape_model type)int getShape_material_condition(EPhysical_unit_shape_model type) void setShape_material_condition(EPhysical_unit_shape_model type, int value) void unsetShape_material_condition(EPhysical_unit_shape_model type) centroid_location (explicit attribute)boolean testCentroid_location(EPhysical_unit_shape_model type)ECartesian_point getCentroid_location(EPhysical_unit_shape_model type) void setCentroid_location(EPhysical_unit_shape_model type, ECartesian_point value) void unsetCentroid_location(EPhysical_unit_shape_model type) shape_environment (explicit attribute)boolean testShape_environment(EPhysical_unit_shape_model type)int getShape_environment(EPhysical_unit_shape_model type) void setShape_environment(EPhysical_unit_shape_model type, int value) void unsetShape_environment(EPhysical_unit_shape_model type) shape_extent (explicit attribute)boolean testShape_extent(EPhysical_unit_shape_model type)int getShape_extent(EPhysical_unit_shape_model type) void setShape_extent(EPhysical_unit_shape_model type, int value) void unsetShape_extent(EPhysical_unit_shape_model type) shape_approximation_level (explicit attribute)boolean testShape_approximation_level(EPhysical_unit_shape_model type)int getShape_approximation_level(EPhysical_unit_shape_model type) void setShape_approximation_level(EPhysical_unit_shape_model type, int value) void unsetShape_approximation_level(EPhysical_unit_shape_model type) mass_property_quality (explicit attribute)boolean testMass_property_quality(EPhysical_unit_shape_model type)int getMass_property_quality(EPhysical_unit_shape_model type) void setMass_property_quality(EPhysical_unit_shape_model type, int value) void unsetMass_property_quality(EPhysical_unit_shape_model type) principal_part_shape (derived attribute)AShape_representation_relationship getPrincipal_part_shape(EPhysical_unit_shape_model type)boolean testPrincipal_part_shape(EPhysical_unit_shape_model type) |
public class CPhysical_unit_shape_model implements EPhysical_unit_shape_modelstatic EAttribute attributeShape_characterized_definition(EPhysical_unit_shape_model type)static int usedinShape_characterized_definition(EPhysical_unit_shape_model type, EPart_view_definition instance, ASdaiModel domain, APhysical_unit_shape_model result) static EAttribute attributeShape_material_condition(EPhysical_unit_shape_model type) static EAttribute attributeCentroid_location(EPhysical_unit_shape_model type) static int usedinCentroid_location(EPhysical_unit_shape_model type, ECartesian_point instance, ASdaiModel domain, APhysical_unit_shape_model result) static EAttribute attributeShape_environment(EPhysical_unit_shape_model type) static EAttribute attributeShape_extent(EPhysical_unit_shape_model type) static EAttribute attributeShape_approximation_level(EPhysical_unit_shape_model type) static EAttribute attributeMass_property_quality(EPhysical_unit_shape_model type) static EAttribute attributePrincipal_part_shape(EPhysical_unit_shape_model type) static int usedinPrincipal_part_shape(EPhysical_unit_shape_model type, EShape_representation_relationship instance, ASdaiModel domain, APhysical_unit_shape_model result) |
public class APhysical_unit_shape_model extends AEntitypublic EPhysical_unit_shape_model getByIndex(int index)public EPhysical_unit_shape_model getCurrentMember(SdaiIterator it) |