public class PerimeterSite extends AbstractSite
| Constructor and Description |
|---|
PerimeterSite(Figure figure,
int id)
Create a new site on the given figure 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.
|
Point2D |
getPoint(double normal)
Get the point location of the site, in the enclosing
transform context.
|
double |
getX()
Get the x-coordinate of the site.
|
double |
getY()
Get the y-coordinate of the site.
|
getNormal, getPoint, getPoint, getPoint, getTransformContext, hasNormal, isNormal, setNormal, translatepublic PerimeterSite(Figure figure, int id)
public Figure getFigure()
getFigure in interface SitegetFigure in class AbstractSitepublic int getID()
getID in interface SitegetID in class AbstractSitepublic Point2D getPoint(double normal)
getPoint in interface SitegetPoint 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.