Uses of Class
org.eclipse.gef.geometry.planar.Polygon
-
Packages that use Polygon Package Description org.eclipse.gef.geometry.convert.swt This package provides support for converting geometric objects to SWT and for conversion between SWT and AWT.org.eclipse.gef.geometry.planar This package provides support for geometric calculations based on shapes. -
-
Uses of Polygon in org.eclipse.gef.geometry.convert.swt
Methods in org.eclipse.gef.geometry.convert.swt that return Polygon Modifier and Type Method Description static Polygon
SWT2Geometry. toPolygon(int... swtPointArray)
Converts the given integer array to a GEFPolygon
.Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Polygon Modifier and Type Method Description static int[]
Geometry2SWT. toSWTPointArray(Polygon p)
-
Uses of Polygon in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return Polygon Modifier and Type Method Description Polygon
Polygon. getCopy()
Returns a copy of thisPolygon
, which is made up by the same points.Polygon
Rectangle. getRotatedCCW(Angle alpha)
Polygon
Rectangle. getRotatedCCW(Angle alpha, double cx, double cy)
Polygon
Rectangle. getRotatedCCW(Angle alpha, Point center)
Polygon
Rectangle. getRotatedCW(Angle alpha)
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, planarPolygon
.Polygon
Rectangle. toPolygon()
Methods in org.eclipse.gef.geometry.planar with parameters of type Polygon Modifier and Type Method Description Ring
Ring. add(Polygon p)
boolean
Polygon. contains(Polygon p)
Constructors in org.eclipse.gef.geometry.planar with parameters of type Polygon Constructor Description Ring(Polygon... polygons)
-