|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlaneArea
Interface that all areas of the Euclidean space R2 must implement.
Method Summary | |
---|---|
PlanePoint[] |
getPoints()
Returns an array of PlanePoint contained in the PlaneArea. |
boolean |
onBoundaries(double x,
double y)
Controls if a specified point is on the boundary of the PlaneArea. |
void |
scale(double factor)
Resets the bounding Rectangle of the planeArea according
to the specified scaling factor. |
void |
setBounds(int x,
int y,
int width,
int height)
Sets the bounding Rectangle of the planeArea to the
specified x, y, width, and height. |
Methods inherited from interface ome.util.mem.Copiable |
---|
copy |
Methods inherited from interface java.awt.Shape |
---|
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects |
Method Detail |
---|
void setBounds(int x, int y, int width, int height)
Rectangle
of the planeArea to the
specified x, y, width, and height.
x
- The x-coordinate of the top-left corner.y
- The y-coordinate of the top-left corner.width
- The width of the area.height
- The height of the area.void scale(double factor)
Rectangle
of the planeArea according
to the specified scaling factor.
factor
- The scaling factor.PlanePoint[] getPoints()
PlanePoint
contained in the PlaneArea.
boolean onBoundaries(double x, double y)
x
- The x-coordinate of the point.y
- The y-coordinate of the point.
true
if the point is on the boundary,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.