ENTITY composite_curve SUBTYPE OF (bounded_curve); segments : LIST [1:?] OF composite_curve_segment; self_intersect : LOGICAL; DERIVE n_segments : INTEGER := SIZEOF(segments); closed_curve : LOGICAL := segments[n_segments].transition <> discontinuous; WHERE wr1: ((NOT closed_curve) AND (SIZEOF(QUERY(temp <* segments | temp.transition = discontinuous)) = 1)) OR ((closed_curve) AND (SIZEOF(QUERY(temp <* segments | temp.transition = discontinuous)) = 0)); END_ENTITY; -- composite_curve |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; curve - bounded_curve - composite_curve segments: LIST [1:?] OF composite_curve_segment; self_intersect: LOGICAL; (DER) n_segments: INTEGER; (DER) closed_curve: LOGICAL; |
closed_curve (BASIC_CURVE_XIM) |
composite_curve_on_surface (GEOMETRY_SCHEMA) |
Global rules for this entity data type- |
public interface EComposite_curve extends EBounded_curvesegments (explicit attribute)boolean testSegments(EComposite_curve type)AComposite_curve_segment getSegments(EComposite_curve type) AComposite_curve_segment createSegments(EComposite_curve type) void unsetSegments(EComposite_curve type) self_intersect (explicit attribute)boolean testSelf_intersect(EComposite_curve type)int getSelf_intersect(EComposite_curve type) void setSelf_intersect(EComposite_curve type, int value) void unsetSelf_intersect(EComposite_curve type) n_segments (derived attribute)int getN_segments(EComposite_curve type)boolean testN_segments(EComposite_curve type) closed_curve (derived attribute)int getClosed_curve(EComposite_curve type)boolean testClosed_curve(EComposite_curve type) |
public class CComposite_curve implements EComposite_curvestatic EAttribute attributeSegments(EComposite_curve type)static int usedinSegments(EComposite_curve type, EComposite_curve_segment instance, ASdaiModel domain, AComposite_curve result) static EAttribute attributeSelf_intersect(EComposite_curve type) static EAttribute attributeN_segments(EComposite_curve type) static EAttribute attributeClosed_curve(EComposite_curve type) |
public class AComposite_curve extends AEntitypublic EComposite_curve getByIndex(int index)public EComposite_curve getCurrentMember(SdaiIterator it) |