public interface PointShape2D extends CirculinearShape2D, Iterable<Point2D>
Modifier and Type | Method and Description |
---|---|
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.
|
getBuffer, transform
contains, contains, draw, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
Collection<Point2D> getPoints()
int getPointNumber()
PointShape2D transform(AffineTransform2D trans)
PointShape2D clip(Box2D box)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.