ENTITY cylindrical_point SUBTYPE OF (cartesian_point); r : length_measure; theta : plane_angle_measure; z : length_measure; DERIVE SELF\cartesian_point.coordinates : LIST [1:3] OF length_measure := [r*cos(theta), r*sin(theta), z]; WHERE wr1: r >= 0.0; END_ENTITY; -- cylindrical_point |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; point - cartesian_point coordinates: LIST [1:3] OF length_measure; cylindrical_point r: length_measure; theta: plane_angle_measure; z: length_measure; (RT) (DER) coordinates: LIST [1:3] OF length_measure; |
Global rules for this entity data type- |
public interface ECylindrical_point extends ECartesian_pointr (explicit attribute)boolean testR(ECylindrical_point type)double getR(ECylindrical_point type) void setR(ECylindrical_point type, double value) void unsetR(ECylindrical_point type) theta (explicit attribute)boolean testTheta(ECylindrical_point type)double getTheta(ECylindrical_point type) void setTheta(ECylindrical_point type, double value) void unsetTheta(ECylindrical_point type) z (explicit attribute)boolean testZ(ECylindrical_point type)double getZ(ECylindrical_point type) void setZ(ECylindrical_point type, double value) void unsetZ(ECylindrical_point type) |
public class CCylindrical_point implements ECylindrical_pointstatic EAttribute attributeR(ECylindrical_point type)static EAttribute attributeTheta(ECylindrical_point type) static EAttribute attributeZ(ECylindrical_point type) static EAttribute attributeCoordinates(ECylindrical_point type) |
public class ACylindrical_point extends AEntitypublic ECylindrical_point getByIndex(int index)public ECylindrical_point getCurrentMember(SdaiIterator it) |