Package de.cau.cs.kieler.klighd.kgraph
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
- See Also:
- EMF generated code
- EMF model element
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyVector(org.eclipse.elk.core.math.KVector pos) Set the position of this point using a vector.org.eclipse.elk.core.math.KVectorCreate a vector from this point.floatgetX()Returns the value of the 'X' attribute.floatgetY()Returns the value of the 'Y' attribute.voidsetPos(float x, float y) Set a new position for this point.voidsetX(float value) Sets the value of the 'X' attribute.voidsetY(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, eUnsetMethods 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 valuey- 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"
-