Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "GEF/GEF4/Geometry"

< GEF‎ | GEF4
(New page: == Description == This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API here. == Shapes == === Line === === Rec...)
 
Line 2: Line 2:
  
 
This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API [[GEF/GEF4/Geometry/Tutorial | here]].
 
This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API [[GEF/GEF4/Geometry/Tutorial | here]].
 +
 +
== Primitives ==
 +
 +
=== Point ===
 +
 +
=== Dimension ===
 +
 +
=== Angle ===
  
 
== Shapes ==
 
== Shapes ==
Line 48: Line 56:
  
 
== Euclidean geometry ==
 
== Euclidean geometry ==
 
=== Point ===
 
  
 
=== Vector ===
 
=== Vector ===
  
 
=== Straight ===
 
=== Straight ===
 
=== Angle ===
 

Revision as of 14:51, 21 October 2011

Description

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

Primitives

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

Euclidean geometry

Vector

Straight

Back to the top