ENTITY rectangular_composite_surface SUBTYPE OF (bounded_surface); segments : LIST [1:?] OF LIST [1:?] OF surface_patch; DERIVE n_u : INTEGER := SIZEOF(segments); n_v : INTEGER := SIZEOF(segments[1]); WHERE wr1: SIZEOF(QUERY (s <* segments | n_v <> SIZEOF (s))) = 0; wr2: constraints_rectangular_composite_surface(SELF); END_ENTITY; -- rectangular_composite_surface |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; surface - bounded_surface - rectangular_composite_surface segments: LIST [1:?] OF LIST [1:?] OF surface_patch; (DER) n_u: INTEGER; (DER) n_v: INTEGER; |
Global rules for this entity data type- |
public interface ERectangular_composite_surface extends EBounded_surfacesegments (explicit attribute)boolean testSegments(ERectangular_composite_surface type)AaSurface_patch getSegments(ERectangular_composite_surface type) AaSurface_patch createSegments(ERectangular_composite_surface type) void unsetSegments(ERectangular_composite_surface type) n_u (derived attribute)int getN_u(ERectangular_composite_surface type)boolean testN_u(ERectangular_composite_surface type) n_v (derived attribute)int getN_v(ERectangular_composite_surface type)boolean testN_v(ERectangular_composite_surface type) |
public class CRectangular_composite_surface implements ERectangular_composite_surfacestatic EAttribute attributeSegments(ERectangular_composite_surface type)static int usedinSegments(ERectangular_composite_surface type, ESurface_patch instance, ASdaiModel domain, ARectangular_composite_surface result) static EAttribute attributeN_u(ERectangular_composite_surface type) static EAttribute attributeN_v(ERectangular_composite_surface type) |
public class ARectangular_composite_surface extends AEntitypublic ERectangular_composite_surface getByIndex(int index)public ERectangular_composite_surface getCurrentMember(SdaiIterator it) |