Bug 307278 - Introduce additional geometric shapes to Geometry package
Summary: Introduce additional geometric shapes to Geometry package
Status: RESOLVED WONTFIX
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 139702
Blocks: 307276
  Show dependency tree
 
Reported: 2010-03-27 05:19 EDT by Alexander Nyßen CLA
Modified: 2013-09-30 10:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nyßen CLA 2010-03-27 05:19:51 EDT
Build Identifier: M20100211-1343

Up to now, there is no support for calculating with ellipses within geometry package. Instead, calculations are performed within Ellipse (shape) and EllipseAnchor respectively. IMHO geometry package should offer support for such calculations by introducing an Ellipse.

Reproducible: Always
Comment 1 Alexander Nyßen CLA 2011-02-03 12:03:47 EST
To evolve the Geometry package into a full-fledged API, additional geometric shapes, such as Path and Region would have to be supported as well.

 If we decide to provide such classes, it would be reasonable to introduce a common superclass that can be used as input and output for all kinds of affine transformations (such as Shape in Java2D), which could be represented as a path (and could return a bounding box rectangle for simple intersection tests).

As SWT already supports some of these concepts and thinks about introducing additional ones (see bug #139702), this would have to be aligned. Adding a dependency to bug #139702 here, so we can keep track of changes in SWT that might affect this one.
Comment 2 Alexander Nyßen CLA 2013-09-30 10:14:01 EDT
As GEF4 provides a newly designed geometry API, resolving this as wontfix for GEF3.