Package | Description |
---|---|
org.eclipse.gef4.geometry.planar |
This package provides support for geometric calculations based on shapes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRectangleBasedGeometry<T extends AbstractRectangleBasedGeometry<?,?>,S extends IGeometry>
Abstract superclass of geometries that are defined by means of their upper
left coordinate (x, y) and a given width and height.
|
interface |
IRotatable<T extends IGeometry>
The
IRotatable interface collects the out-of-place rotation short-cut
methods. |
interface |
IScalable<T extends IGeometry>
The
IScalable interface collects all scaling short-cut methods. |
interface |
ITranslatable<T extends IGeometry>
The
ITranslatable interface collects all translation short-cut
methods. |
Modifier and Type | Interface and Description |
---|---|
interface |
ICurve
The
ICurve interface provides operations that allow the analysis of
linear geometric objects and the transfer to BezierCurve segments (
ICurve.toBezier() ). |
interface |
IMultiShape
In contradiction to the relation of the IPolyCurve to the ICurve interfaces,
the IMultiShape interface does not extend the IShape interface.
|
interface |
IShape
An
IShape is the representation of an areal geometric object. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRectangleBasedGeometry<T extends AbstractRectangleBasedGeometry<?,?>,S extends IGeometry>
Abstract superclass of geometries that are defined by means of their upper
left coordinate (x, y) and a given width and height.
|
class |
Arc
|
class |
BezierCurve
Instances of the
BezierCurve class individually represent an
arbitrary Bezier curve. |
class |
CubicCurve
An instance of the
CubicCurve class represents a BezierCurve
of degree 3, having a start and an end Point and two handle
Point s. |
class |
CurvedPolygon
|
class |
Ellipse
Represents the geometric shape of an ellipse.
|
class |
Line
Represents the geometric shape of a line (or linear curve).
|
class |
Path
Represents the geometric shape of a path, which may consist of independent
subgraphs.
|
class |
Pie
The
Pie is a closed AbstractArcBasedGeometry . |
class |
PolyBezier
|
class |
Polygon
Represents the geometric shape of a convex polygon.
|
class |
Polyline
Represents the geometric shape of a polyline.
|
class |
QuadraticCurve
Represents the geometric shape of a quadratic Bézier curve.
|
class |
Rectangle
Represents the geometric shape of a rectangle, where a rectangle is
characterized by means of its upper left corner (x,y) and its size (width,
height).
|
class |
Region
A combination of
Rectangle s. |
class |
Ring
A combination of Polygons....
|
class |
RoundedRectangle
Represents the geometric shape of a rounded rectangle, i.e. a rectangle with
rounded corners.
|
Modifier and Type | Method and Description |
---|---|
IGeometry |
IGeometry.getCopy()
Returns a new identical copy of this
IGeometry . |
IGeometry |
IGeometry.getTransformed(AffineTransform t)
Returns a new
IGeometry , which represents the given
IGeometry after the application of the given
AffineTransform . |
Modifier and Type | Method and Description |
---|---|
boolean |
Ellipse.contains(IGeometry g) |
boolean |
CurvedPolygon.contains(IGeometry g) |
boolean |
RoundedRectangle.contains(IGeometry g) |
boolean |
Ring.contains(IGeometry g) |
boolean |
Region.contains(IGeometry g) |
boolean |
Rectangle.contains(IGeometry g) |
boolean |
Polygon.contains(IGeometry g) |
boolean |
Pie.contains(IGeometry g) |
boolean |
IShape.contains(IGeometry g)
|
boolean |
IMultiShape.contains(IGeometry g)
Checks if the given
IGeometry is fully contained by this
IMultiShape . |
boolean |
Rectangle.touches(IGeometry g) |
boolean |
Line.touches(IGeometry g) |
boolean |
IGeometry.touches(IGeometry g)
|
Copyright (c) 2014 itemis AG, and others. All rights reserved.