ENTITY surface_curve SUPERTYPE OF ((ONEOF (intersection_curve, seam_curve) ANDOR bounded_surface_curve)) SUBTYPE OF (curve); curve_3d : curve; associated_geometry : LIST [1:2] OF pcurve_or_surface; master_representation : preferred_surface_curve_representation; DERIVE basis_surface : SET [1:2] OF surface := get_basis_surface(SELF); WHERE wr1: curve_3d.dim = 3; wr2: ('GEOMETRY_SCHEMA.PCURVE' IN TYPEOF(associated_geometry[1])) OR (master_representation <> pcurve_s1); wr3: ('GEOMETRY_SCHEMA.PCURVE' IN TYPEOF(associated_geometry[2])) OR (master_representation <> pcurve_s2); wr4: NOT ('GEOMETRY_SCHEMA.PCURVE' IN TYPEOF(curve_3d)); END_ENTITY; -- surface_curve |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; curve - surface_curve curve_3d: curve; associated_geometry: LIST [1:2] OF pcurve_or_surface; master_representation: preferred_surface_curve_representation; (DER) basis_surface: SET [1:2] OF surface; |
bounded_curve$surface_curve (GEOMETRY_SCHEMA) |
bounded_surface_curve (GEOMETRY_SCHEMA) |
intersection_curve (GEOMETRY_SCHEMA) |
seam_curve (GEOMETRY_SCHEMA) |
Global rules for this entity data type- |
public interface ESurface_curve extends ECurvecurve_3d (explicit attribute)boolean testCurve_3d(ESurface_curve type)ECurve getCurve_3d(ESurface_curve type) void setCurve_3d(ESurface_curve type, ECurve value) void unsetCurve_3d(ESurface_curve type) associated_geometry (explicit attribute)boolean testAssociated_geometry(ESurface_curve type)APcurve_or_surface getAssociated_geometry(ESurface_curve type) APcurve_or_surface createAssociated_geometry(ESurface_curve type) void unsetAssociated_geometry(ESurface_curve type) master_representation (explicit attribute)boolean testMaster_representation(ESurface_curve type)int getMaster_representation(ESurface_curve type) void setMaster_representation(ESurface_curve type, int value) void unsetMaster_representation(ESurface_curve type) basis_surface (derived attribute)ASurface getBasis_surface(ESurface_curve type)boolean testBasis_surface(ESurface_curve type) |
public class CSurface_curve implements ESurface_curvestatic EAttribute attributeCurve_3d(ESurface_curve type)static int usedinCurve_3d(ESurface_curve type, ECurve instance, ASdaiModel domain, ASurface_curve result) static EAttribute attributeAssociated_geometry(ESurface_curve type) static int usedinAssociated_geometry(ESurface_curve type, EEntity instance, ASdaiModel domain, ASurface_curve result) static EAttribute attributeMaster_representation(ESurface_curve type) static EAttribute attributeBasis_surface(ESurface_curve type) static int usedinBasis_surface(ESurface_curve type, ESurface instance, ASdaiModel domain, ASurface_curve result) |
public class ASurface_curve extends AEntitypublic ESurface_curve getByIndex(int index)public ESurface_curve getCurrentMember(SdaiIterator it) |