Package org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.
-
Interface Summary Interface Description ICurve TheICurve
interface provides operations that allow the analysis of linear geometric objects and the transfer toBezierCurve
segments (ICurve.toBezier()
).IGeometry A glance at the list of implementing classes reveals that theIGeometry
interface bundles all the basic common methods for planar geometric objects.IMultiShape In contradiction to the relation of the IPolyCurve to the ICurve interfaces, the IMultiShape interface does not extend the IShape interface.IRotatable<T extends IGeometry> TheIRotatable
interface collects the out-of-place rotation short-cut methods.IScalable<T extends IGeometry> TheIScalable
interface collects all scaling short-cut methods.IShape AnIShape
is the representation of an areal geometric object.ITranslatable<T extends IGeometry> TheITranslatable
interface collects all translation short-cut methods. -
Class Summary Class Description AffineTransform TheAffineTransform
class provides methods to create and modify 2-dimensional affine transformations.Arc BezierCurve Instances of theBezierCurve
class individually represent an arbitrary Bezier curve.CubicCurve An instance of theCubicCurve
class represents aBezierCurve
of degree 3, having a start and an endPoint
and two handlePoint
s.CurvedPolygon Dimension ADimension
represents a width and a height in 2-dimensional space.Ellipse Represents the geometric shape of an ellipse.Line Represents the geometric shape of a line (or linear curve).Path Represents the geometric shape of a path, which may consist of independent subgraphs.Path.Segment Representation for different types ofPath.Segment
s.Pie ThePie
is a closedAbstractArcBasedGeometry
.Point Represents a point (x, y) in 2-dimensional space.PolyBezier Polygon Represents the geometric shape of a convex polygon.Polyline Represents the geometric shape of a polyline.QuadraticCurve Represents the geometric shape of a quadratic Bézier curve.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).Region A combination ofRectangle
s.Ring A combination of Polygons....RoundedRectangle Represents the geometric shape of a rounded rectangle, i.e. a rectangle with rounded corners.