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.
|
Modifier and Type | Method and Description |
---|---|
static Polygon |
SWT2Geometry.toPolygon(int... swtPointArray)
Converts the given integer array to a GEF
Polygon . |
Modifier and Type | Method and Description |
---|---|
static int[] |
Geometry2SWT.toSWTPointArray(Polygon p)
|
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)
|
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 |
Rectangle.getTransformed(AffineTransform t)
|
Polygon |
Polygon.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.