|
ENTITY planar_path_shape_model_with_parameters SUBTYPE OF (planar_path_shape_representation_with_parameters); DERIVE centreline : curve := ? ; parameters : curve_style_parameters := ? ; WHERE wr1: SIZEOF ( QUERY ( it <* SELF \ representation . items | ( 'geometry_schema.axis2_placement_2d' IN TYPEOF ( it ) ) ) ) = 1 ; wr2: SIZEOF ( QUERY ( it <* SELF \ representation . items | ( 'geometry_schema.axis2_placement_2d' IN TYPEOF ( it ) ) AND NOT ( ( it \ placement . location \ cartesian_point . coordinates [ 1 ] = 0.0 ) AND ( it \ placement . location \ cartesian_point . coordinates [ 2 ] = 0.0 ) AND ( it . ref_direction \ direction . coordinates [ 1 ] = 1.0 ) AND ( it . ref_direction \ direction . coordinates [ 2 ] = 0.0 ) ) ) ) = 0 ; END_ENTITY; -- planar_path_shape_model_with_parameters |
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_2d_shape_representation (RT) items: SET [1:?] OF csg_2d_shape_select; single_area_csg_2d_shape_representation (RT) items: SET [1:?] OF csg_2d_area_select; planar_path_shape_representation_with_parameters - planar_path_shape_model_with_parameters (DER) centreline: curve; (DER) parameters: curve_style_parameters; |
| planar_closed_path_shape_model_with_parameters (PART_TEMPLATE_EXTENSION_XIM) |
Global rules for this entity data type- |
public interface EPlanar_path_shape_model_with_parameters extends EPlanar_path_shape_representation_with_parameterscentreline (derived attribute)ECurve getCentreline(EPlanar_path_shape_model_with_parameters type)boolean testCentreline(EPlanar_path_shape_model_with_parameters type) parameters (derived attribute)ECurve_style_parameters getParameters(EPlanar_path_shape_model_with_parameters type)boolean testParameters(EPlanar_path_shape_model_with_parameters type) |
public class CPlanar_path_shape_model_with_parameters implements EPlanar_path_shape_model_with_parametersstatic EAttribute attributeCentreline(EPlanar_path_shape_model_with_parameters type)static int usedinCentreline(EPlanar_path_shape_model_with_parameters type, ECurve instance, ASdaiModel domain, APlanar_path_shape_model_with_parameters result) static EAttribute attributeParameters(EPlanar_path_shape_model_with_parameters type) static int usedinParameters(EPlanar_path_shape_model_with_parameters type, ECurve_style_parameters instance, ASdaiModel domain, APlanar_path_shape_model_with_parameters result) |
public class APlanar_path_shape_model_with_parameters extends AEntitypublic EPlanar_path_shape_model_with_parameters getByIndex(int index)public EPlanar_path_shape_model_with_parameters getCurrentMember(SdaiIterator it) |