public class ParametricSite extends AbstractSite
| Constructor and Description |
|---|
ParametricSite(Figure figure,
int id,
double xt,
double yt)
Create a new site on the given figure with the given id,
located at (xt, yt) percentage of the given figure's bounding
box, with (0,0) being the upper left-hand corner and (1,1)
being the lower right.
|
| 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 ParametricSite(Figure figure, int id, double xt, double yt)
public Figure getFigure()
getFigure in interface SitegetFigure in class AbstractSitepublic int getID()
getID in interface SitegetID in class AbstractSitepublic double getX()
getX in interface SitegetX in class AbstractSitepublic double getY()
getY in interface SitegetY in class AbstractSiteCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.