ENTITY tetrahedron_volume SUBTYPE OF (volume); point_1 : cartesian_point; point_2 : cartesian_point; point_3 : cartesian_point; point_4 : cartesian_point; WHERE wr1: point_1.dim = 3; wr2: above_plane(point_1, point_2, point_3, point_4) <> 0.0; END_ENTITY; -- tetrahedron_volume |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; volume - tetrahedron_volume point_1: cartesian_point; point_2: cartesian_point; point_3: cartesian_point; point_4: cartesian_point; |
Global rules for this entity data type- |
public interface ETetrahedron_volume extends EVolumepoint_1 (explicit attribute)boolean testPoint_1(ETetrahedron_volume type)ECartesian_point getPoint_1(ETetrahedron_volume type) void setPoint_1(ETetrahedron_volume type, ECartesian_point value) void unsetPoint_1(ETetrahedron_volume type) point_2 (explicit attribute)boolean testPoint_2(ETetrahedron_volume type)ECartesian_point getPoint_2(ETetrahedron_volume type) void setPoint_2(ETetrahedron_volume type, ECartesian_point value) void unsetPoint_2(ETetrahedron_volume type) point_3 (explicit attribute)boolean testPoint_3(ETetrahedron_volume type)ECartesian_point getPoint_3(ETetrahedron_volume type) void setPoint_3(ETetrahedron_volume type, ECartesian_point value) void unsetPoint_3(ETetrahedron_volume type) point_4 (explicit attribute)boolean testPoint_4(ETetrahedron_volume type)ECartesian_point getPoint_4(ETetrahedron_volume type) void setPoint_4(ETetrahedron_volume type, ECartesian_point value) void unsetPoint_4(ETetrahedron_volume type) |
public class CTetrahedron_volume implements ETetrahedron_volumestatic EAttribute attributePoint_1(ETetrahedron_volume type)static int usedinPoint_1(ETetrahedron_volume type, ECartesian_point instance, ASdaiModel domain, ATetrahedron_volume result) static EAttribute attributePoint_2(ETetrahedron_volume type) static int usedinPoint_2(ETetrahedron_volume type, ECartesian_point instance, ASdaiModel domain, ATetrahedron_volume result) static EAttribute attributePoint_3(ETetrahedron_volume type) static int usedinPoint_3(ETetrahedron_volume type, ECartesian_point instance, ASdaiModel domain, ATetrahedron_volume result) static EAttribute attributePoint_4(ETetrahedron_volume type) static int usedinPoint_4(ETetrahedron_volume type, ECartesian_point instance, ASdaiModel domain, ATetrahedron_volume result) |
public class ATetrahedron_volume extends AEntitypublic ETetrahedron_volume getByIndex(int index)public ETetrahedron_volume getCurrentMember(SdaiIterator it) |