de.cau.cs.kieler.kiml.klayoutdata
Interface KPoint

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
KPointImpl

public interface KPoint
extends EObject

A representation of the model object 'Point'. A point has an x and a y coordinate.

The following features are supported:

See Also:
KLayoutDataPackage.getKPoint()
Rating yellow
(2011-03-14) reviewed by cmot, cds
Generated:
This code was automatically generated.
Model element

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

getX

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

Returns:
the value of the 'X' attribute.
See Also:
setX(float), KLayoutDataPackage.getKPoint_X()
Generated:
This code was automatically generated.
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:
getX()
Generated:
This code was automatically generated.

getY

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

Returns:
the value of the 'Y' attribute.
See Also:
setY(float), KLayoutDataPackage.getKPoint_Y()
Generated:
This code was automatically generated.
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:
getY()
Generated:
This code was automatically generated.

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
Generated:
This code was automatically generated.
Model element

applyVector

void applyVector(KVector pos)
Set the position of this point using a vector.

Parameters:
pos - the vector for the new position
Generated:
This code was automatically generated.
Model element:
posType=de.cau.cs.kieler.kiml.klayoutdata.KVector

createVector

KVector createVector()
Create a vector from this point.

Returns:
a vector with the position of this point
Generated:
This code was automatically generated.
Model element:
type=de.cau.cs.kieler.kiml.klayoutdata.KVector