Package | Description |
---|---|
math.geom2d.polygon |
Definitions and implementations of shapes composed several line segments:
polylines, rings, polygons.
|
Modifier and Type | Method and Description |
---|---|
SimplePolygon2D |
SimplePolygon2D.clone() |
SimplePolygon2D |
SimplePolygon2D.complement()
Returns the polygon created by reversing the order of the vertices.
|
static SimplePolygon2D |
SimplePolygon2D.create(Collection<? extends Point2D> points)
Static factory for creating a new SimplePolygon2D from a collection of
points.
|
static SimplePolygon2D |
SimplePolygon2D.create(Point2D[] points)
Static factory for creating a new SimplePolygon2D from an array of
points.
|
SimplePolygon2D |
SimplePolygon2D.transform(AffineTransform2D trans)
Returns the new Polygon created by an affine transform of this polygon.
|
SimplePolygon2D |
Rectangle2D.transform(AffineTransform2D trans)
Return the new Polygon created by an affine transform of this polygon.
|
SimplePolygon2D |
HRectangle2D.transform(AffineTransform2D trans)
Return the new Polygon created by an affine transform of this polygon.
|
Modifier and Type | Method and Description |
---|---|
Collection<SimplePolygon2D> |
MultiPolygon2D.getPolygons()
Return the set of (oriented) polygons forming this MultiPolygon2D.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiPolygon2D.addPolygon(SimplePolygon2D polygon) |
Constructor and Description |
---|
MultiPolygon2D(SimplePolygon2D polygon) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.