|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KPoint
A representation of the model object 'Point'. A point has an x and a y coordinate.
The following features are supported:
KLayoutDataPackage.getKPoint()
Method Summary | |
---|---|
void |
applyVector(KVector pos)
Set the position of this point using a vector. |
KVector |
createVector()
Create a vector from this point. |
float |
getX()
Returns the value of the 'X' attribute. |
float |
getY()
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 Detail |
---|
float getX()
"0.0f"
.
setX(float)
,
KLayoutDataPackage.getKPoint_X()
default | = | 0.0f |
void setX(float value)
X
' attribute.
value
- the new value of the 'X' attribute.getX()
float getY()
"0.0f"
.
setY(float)
,
KLayoutDataPackage.getKPoint_Y()
default | = | 0.0f |
void setY(float value)
Y
' attribute.
value
- the new value of the 'Y' attribute.getY()
void setPos(float x, float y)
x
- the new x coordinate valuey
- the new y coordinate value
void applyVector(KVector pos)
pos
- the vector for the new position
posType | = | de.cau.cs.kieler.kiml.klayoutdata.KVector |
KVector createVector()
type | = | de.cau.cs.kieler.kiml.klayoutdata.KVector |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |