public class ArcMidpointSite extends AbstractSite
_hasNormal, _normal
Constructor and Description |
---|
ArcMidpointSite(ArcConnector connector,
int id)
Create a new site on the given arc connector with the given ID.
|
Modifier and Type | Method and Description |
---|---|
Figure |
getFigure()
Get the figure to which this site is attached.
|
int |
getID()
Get the ID of this site.
|
double |
getX()
Get the x-coordinate of the site.
|
double |
getY()
Get the y-coordinate of the site.
|
public ArcMidpointSite(ArcConnector connector, int id)
connector
- The arc connector.id
- The id.public Figure getFigure()
getFigure
in interface Site
getFigure
in class AbstractSite
public int getID()
getID
in interface Site
getID
in class AbstractSite
public double getX()
getX
in interface Site
getX
in class AbstractSite
public double getY()
getY
in interface Site
getY
in class AbstractSite