Package org.eclipse.gef.geometry.planar
package org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.
-
ClassDescriptionThe
AffineTransformclass provides methods to create and modify 2-dimensional affine transformations.Instances of theBezierCurveclass individually represent an arbitrary Bezier curve.An instance of theCubicCurveclass represents aBezierCurveof degree 3, having a start and an endPointand two handlePoints.ADimensionrepresents a width and a height in 2-dimensional space.Represents the geometric shape of an ellipse.TheICurveinterface provides operations that allow the analysis of linear geometric objects and the transfer toBezierCurvesegments (ICurve.toBezier()).A glance at the list of implementing classes reveals that theIGeometryinterface bundles all the basic common methods for planar geometric objects.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.TheIScalableinterface collects all scaling short-cut methods.AnIShapeis the representation of an areal geometric object.ITranslatable<T extends IGeometry>TheITranslatableinterface collects all translation short-cut methods.Represents the geometric shape of a line (or linear curve).Represents the geometric shape of a path, which may consist of independent subgraphs.Representation for different types ofPath.Segments.ThePieis a closedAbstractArcBasedGeometry.Represents a point (x, y) in 2-dimensional space.Represents the geometric shape of a convex polygon.Represents the geometric shape of a polyline.Represents the geometric shape of a quadratic Bézier curve.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).A combination ofRectangles.A combination of Polygons....Represents the geometric shape of a rounded rectangle, i.e. a rectangle with rounded corners.