|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface PointShape2D
Interface for shapes composed of a finite set of points. Single points should also implements this interface. Implementations of this interface can contains duplicate points.
| Field Summary |
|---|
| Fields inherited from interface math.geom2d.Shape2D |
|---|
ACCURACY |
| Method Summary | |
|---|---|
PointShape2D |
clip(Box2D box)
When a PointShape2D is clipped, the result is still a PointShape2D. |
int |
getPointNumber()
Returns the number of points in the set. |
Collection<Point2D> |
getPoints()
Returns the points in the shape as a collection. |
PointShape2D |
transform(AffineTransform2D trans)
Transforms the point shape by an affine transform. |
| Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D |
|---|
getBuffer, transform |
| Methods inherited from interface math.geom2d.Shape2D |
|---|
contains, contains, draw, getBoundingBox, getDistance, getDistance, isBounded, isEmpty |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
Collection<Point2D> getPoints()
int getPointNumber()
PointShape2D transform(AffineTransform2D trans)
transform in interface Shape2Dtrans - an affine transform
PointShape2D clip(Box2D box)
clip in interface Shape2Dbox - the clipping box
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||