Package | Description |
---|---|
org.eclipse.gef4.geometry.planar |
This package provides support for geometric calculations based on shapes.
|
Modifier and Type | Method and Description |
---|---|
Polygon |
Polygon.getCopy()
Returns a copy of this
Polygon , which is made up by the same
points. |
Polygon |
Rectangle.getRotatedCCW(Angle alpha)
Rotates this
Rectangle counter-clock-wise by the given
Angle around the center Point of this Rectangle
(see AbstractRectangleBasedGeometry.getCenter() ). |
Polygon |
Rectangle.getRotatedCCW(Angle alpha,
double cx,
double cy)
|
Polygon |
Rectangle.getRotatedCCW(Angle alpha,
Point center)
|
Polygon |
Rectangle.getRotatedCW(Angle alpha)
Rotates this
Rectangle clock-wise by the given Angle
around the center (AbstractRectangleBasedGeometry.getCenter() ) of
this Rectangle . |
Polygon |
Rectangle.getRotatedCW(Angle alpha,
double cx,
double cy)
|
Polygon |
Rectangle.getRotatedCW(Angle alpha,
Point center)
|
Polygon[] |
Ring.getShapes() |
Polygon |
Polygon.getTransformed(AffineTransform t) |
Polygon |
Rectangle.getTransformed(AffineTransform t)
|
Polygon[] |
Polygon.getTriangulation()
Naive, recursive ear-clipping algorithm to triangulate this simple,
planar
Polygon . |
Polygon |
Rectangle.toPolygon()
|
Modifier and Type | Method and Description |
---|---|
Ring |
Ring.add(Polygon p)
|
boolean |
Polygon.contains(Polygon p)
|
Constructor and Description |
---|
Ring(Polygon... polygons)
|
Copyright (c) 2014 itemis AG, and others. All rights reserved.