Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

GEF/GEF4/Geometry

Description

This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API here.

Primitives

Interface hierarchy

Point

Dimension

Angle

Shapes

Line

Rectangle

RoundedRectangle

Polygon

Polyline

Ellipse

QuadraticCurve

CubicCurve

Path

Conversions (From/To AWT/SWT/Geometry)

From SWT to Geometry

Important. Very easy via the toSWT...() methods.

From AWT to Geometry

From Geometry to AWT

From AWT to SWT

From SWT to AWT

Affine transformations

Via projective geometry. All matrices can be combined before applying them to the particular shape.

Translation

Rotation

Scaling

Shearing

Euclidean geometry

Vector

Straight

Projective geometry

Vector3D

Straight3D

Back to the top