Interface Location3D

  • All Superinterfaces:
    org.eclipse.emf.ecore.EObject, IChartObject, Location, org.eclipse.emf.common.notify.Notifier
    All Known Implementing Classes:
    Location3DImpl

    public interface Location3D
    extends Location
    A representation of the model object 'Location3 D'. Location3D represents a 3D point with its coordinates.

    The following features are supported:

    See Also:
    AttributePackage.getLocation3D()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Location3D copyInstance()  
      double getZ()
      Returns the value of the 'Z' attribute.
      boolean isSetZ()
      Returns whether the value of the 'Z' attribute is set.
      void linkToVector​(Vector vector)
      Used to link a Location3D to a Vector for live update of the coordinates.
      void scale​(double dScale)
      Causes the internal (x,y) values to be scaled by a relative (dScale) value
      void set​(double dX, double dY, double dZ)
      A convenience method for defining member variables NOTE: Manually created
      void setZ​(double value)
      Sets the value of the 'Z' attribute.
      void translate​(double dTranslateX, double dTranslateY, double dTranslateZ)
      Causes the internal (x,y,z) values to be translated by a relative value of (dTranslateX, dTranslateY, dTranslateZ)
      void unsetZ()
      Unsets the value of the 'Z' attribute.
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Method Detail

      • setZ

        void setZ​(double value)
        Sets the value of the 'Z' attribute.
        Parameters:
        value - the new value of the 'Z' attribute.
        See Also:
        isSetZ(), unsetZ(), getZ()
      • isSetZ

        boolean isSetZ()
        Returns whether the value of the 'Z' attribute is set.
        Returns:
        whether the value of the 'Z' attribute is set.
        See Also:
        unsetZ(), getZ(), setZ(double)
      • scale

        void scale​(double dScale)
        Description copied from interface: Location
        Causes the internal (x,y) values to be scaled by a relative (dScale) value
        Specified by:
        scale in interface Location
      • translate

        void translate​(double dTranslateX,
                       double dTranslateY,
                       double dTranslateZ)
        Causes the internal (x,y,z) values to be translated by a relative value of (dTranslateX, dTranslateY, dTranslateZ)
        Parameters:
        dTranslateX -
        dTranslateY -
        dTranslateZ -
      • set

        void set​(double dX,
                 double dY,
                 double dZ)
        A convenience method for defining member variables NOTE: Manually created
        Parameters:
        dX -
        dY -
        dZ -
      • linkToVector

        void linkToVector​(Vector vector)
        Used to link a Location3D to a Vector for live update of the coordinates.