Package org.eclipse.gef.geometry.planar
package org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.
-
ClassDescriptionThe
AffineTransform
class provides methods to create and modify 2-dimensional affine transformations.Instances of theBezierCurve
class individually represent an arbitrary Bezier curve.An instance of theCubicCurve
class represents aBezierCurve
of degree 3, having a start and an endPoint
and two handlePoint
s.ADimension
represents a width and a height in 2-dimensional space.Represents the geometric shape of an ellipse.TheICurve
interface provides operations that allow the analysis of linear geometric objects and the transfer toBezierCurve
segments (ICurve.toBezier()
).A glance at the list of implementing classes reveals that theIGeometry
interface 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>TheIRotatable
interface collects the out-of-place rotation short-cut methods.TheIScalable
interface collects all scaling short-cut methods.AnIShape
is the representation of an areal geometric object.ITranslatable<T extends IGeometry>TheITranslatable
interface 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.Segment
s.ThePie
is 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 ofRectangle
s.A combination of Polygons....Represents the geometric shape of a rounded rectangle, i.e. a rectangle with rounded corners.