|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Polygon2D | |
---|---|
math.geom2d | Planar geometry toolbox. |
math.geom2d.domain | Definition of planar domains, and basic implementations. |
math.geom2d.polygon | Definitions and implementations of shapes composed several line segments: polylines, rings, polygons. |
math.geom2d.polygon.convhull | Convex hull computation. |
Uses of Polygon2D in math.geom2d |
---|
Methods in math.geom2d that return Polygon2D | |
---|---|
Polygon2D |
Box2D.asRectangle()
Converts to a rectangle. |
Uses of Polygon2D in math.geom2d.domain |
---|
Methods in math.geom2d.domain that return Polygon2D | |
---|---|
Polygon2D |
Domain2D.asPolygon(int n)
Returns an approximation of the domain as a polygon, or a MultiPolygon. |
Polygon2D |
GenericDomain2D.asPolygon(int n)
|
Polygon2D |
DomainArray2D.asPolygon(int n)
|
Uses of Polygon2D in math.geom2d.polygon |
---|
Classes in math.geom2d.polygon that implement Polygon2D | |
---|---|
class |
HRectangle2D
Deprecated. since 0.11.0 |
class |
MultiPolygon2D
A polygonal domain whose boundary is composed of several disjoint continuous LinearRing2D. |
class |
Rectangle2D
Rectangle2D defines a rectangle rotated around its first corner. |
class |
SimplePolygon2D
Represent a polygonal domain whose boundary is a single closed polyline. |
Methods in math.geom2d.polygon that return Polygon2D | |
---|---|
Polygon2D |
HRectangle2D.asPolygon(int n)
Deprecated. |
Polygon2D |
MultiPolygon2D.asPolygon(int n)
|
Polygon2D |
Rectangle2D.asPolygon(int n)
|
Polygon2D |
SimplePolygon2D.asPolygon(int n)
|
Polygon2D |
MultiPolygon2D.clip(Box2D box)
Clips the polygon with the specified box. |
Polygon2D |
Rectangle2D.clip(Box2D box)
Returns the clipped polygon. |
Polygon2D |
Polygon2D.clip(Box2D box)
|
Polygon2D |
SimplePolygon2D.clip(Box2D box)
Returns the shape formed by the polygon clipped by the given box. |
static Polygon2D |
Polygons2D.clipPolygon(Polygon2D polygon,
Box2D box)
Clips a polygon by a box. |
Polygon2D |
HRectangle2D.complement()
Deprecated. |
Polygon2D |
MultiPolygon2D.complement()
|
Polygon2D |
Rectangle2D.complement()
Returns a new simple Polygon whose vertices are in reverse order of this rectangle. |
Polygon2D |
Polygon2D.complement()
Returns the complementary polygon. |
static Polygon2D |
Polygons2D.difference(Polygon2D polygon1,
Polygon2D polygon2)
Computes the Difference of the two polygons. |
static Polygon2D |
Polygons2D.exclusiveOr(Polygon2D polygon1,
Polygon2D polygon2)
Computes the exclusive XOR of the two polygons. |
static Polygon2D |
Polygons2D.intersection(Polygon2D polygon1,
Polygon2D polygon2)
Computes the intersection of the two polygons. |
Polygon2D |
Polygon2D.transform(AffineTransform2D trans)
Returns the new Polygon created by an affine transform of this polygon. |
static Polygon2D |
Polygons2D.union(Polygon2D polygon1,
Polygon2D polygon2)
Computes the union of the two polygons. |
Methods in math.geom2d.polygon with parameters of type Polygon2D | |
---|---|
static Polygon2D |
Polygons2D.clipPolygon(Polygon2D polygon,
Box2D box)
Clips a polygon by a box. |
static double |
Polygons2D.computeArea(Polygon2D polygon)
Computes the signed area of the polygon. |
static Point2D |
Polygons2D.computeCentroid(Polygon2D polygon)
Computes the centroid of the given polygon. |
static CirculinearDomain2D |
Polygons2D.createBuffer(Polygon2D polygon,
double dist)
Computes the buffer at a distance d of the input polygon. |
static Polygon2D |
Polygons2D.difference(Polygon2D polygon1,
Polygon2D polygon2)
Computes the Difference of the two polygons. |
static Polygon2D |
Polygons2D.exclusiveOr(Polygon2D polygon1,
Polygon2D polygon2)
Computes the exclusive XOR of the two polygons. |
static Polygon2D |
Polygons2D.intersection(Polygon2D polygon1,
Polygon2D polygon2)
Computes the intersection of the two polygons. |
static Polygon2D |
Polygons2D.union(Polygon2D polygon1,
Polygon2D polygon2)
Computes the union of the two polygons. |
Uses of Polygon2D in math.geom2d.polygon.convhull |
---|
Methods in math.geom2d.polygon.convhull that return Polygon2D | |
---|---|
Polygon2D |
GrahamScan2D.convexHull(java.util.Collection<? extends Point2D> points)
|
Polygon2D |
JarvisMarch2D.convexHull(java.util.Collection<? extends Point2D> points)
Computes the convex hull of a set of points as a single Polygon2D. |
Polygon2D |
ConvexHull2D.convexHull(java.util.Collection<? extends Point2D> points)
Computes the convex hull of the given collection of points. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |