Package org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.
-
Interface Summary Interface Description ICurve TheICurveinterface provides operations that allow the analysis of linear geometric objects and the transfer toBezierCurvesegments (ICurve.toBezier()).IGeometry A glance at the list of implementing classes reveals that theIGeometryinterface 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> TheIRotatableinterface collects the out-of-place rotation short-cut methods.IScalable<T extends IGeometry> TheIScalableinterface collects all scaling short-cut methods.IShape AnIShapeis the representation of an areal geometric object.ITranslatable<T extends IGeometry> TheITranslatableinterface collects all translation short-cut methods. -
Class Summary Class Description AffineTransform TheAffineTransformclass provides methods to create and modify 2-dimensional affine transformations.Arc BezierCurve Instances of theBezierCurveclass individually represent an arbitrary Bezier curve.CubicCurve An instance of theCubicCurveclass represents aBezierCurveof degree 3, having a start and an endPointand two handlePoints.CurvedPolygon Dimension ADimensionrepresents 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.Segments.Pie ThePieis 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 ofRectangles.Ring A combination of Polygons....RoundedRectangle Represents the geometric shape of a rounded rectangle, i.e. a rectangle with rounded corners.