Interface KPoint

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
KPointImpl

public interface KPoint extends org.eclipse.emf.ecore.EObject
A representation of the model object 'KPoint'.

The following features are supported:

See Also:
EMF generated code
EMF model element
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyVector(org.eclipse.elk.core.math.KVector pos)
    Set the position of this point using a vector.
    org.eclipse.elk.core.math.KVector
    Create a vector from this point.
    float
    Returns the value of the 'X' attribute.
    float
    Returns the value of the 'Y' attribute.
    void
    setPos(float x, float y)
    Set a new position for this point.
    void
    setX(float value)
    Sets the value of the 'X' attribute.
    void
    setY(float value)
    Sets the value of the 'Y' 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 Details

    • getX

      float getX()
      Returns the value of the 'X' attribute. The default value is "0.0f".

      If the meaning of the 'X' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'X' attribute.
      See Also:
      EMF generated code
      EMF model element
      default="0.0f"
    • setX

      void setX(float value)
      Sets the value of the 'X' attribute.
      Parameters:
      value - the new value of the 'X' attribute.
      See Also:
      EMF generated code
    • getY

      float getY()
      Returns the value of the 'Y' attribute. The default value is "0.0f".

      If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Y' attribute.
      See Also:
      EMF generated code
      EMF model element
      default="0.0f"
    • setY

      void setY(float value)
      Sets the value of the 'Y' attribute.
      Parameters:
      value - the new value of the 'Y' attribute.
      See Also:
      EMF generated code
    • setPos

      void setPos(float x, float y)
      Set a new position for this point.
      Parameters:
      x - the new x coordinate value
      y - the new y coordinate value
      EMF generated code
      EMF model element
    • applyVector

      void applyVector(org.eclipse.elk.core.math.KVector pos)
      Set the position of this point using a vector.
      Parameters:
      pos - the vector for the new position
      EMF generated code
      EMF model element
      posDataType="de.cau.cs.kieler.klighd.kgraph.KVector"
    • createVector

      org.eclipse.elk.core.math.KVector createVector()
      Create a vector from this point.
      Returns:
      a vector with the position of this point
      EMF generated code
      EMF model element
      dataType="de.cau.cs.kieler.klighd.kgraph.KVector"