Point on polygon

Bug #1034369 reported by hilaire on 2012-08-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Wishlist
hilaire

Bug Description

Define a point on a polygon.

Polygon item are already capable to define a point according to its curvilinear coordinate in [0 ; 1]

hilaire (hilaire-fernandes) wrote :

In Polygon item:

- #abscissaOf: should be implemented
- isCurveItem should return true

In Polygon costume:
- isCurveCostume should return true

hilaire (hilaire-fernandes) wrote :

Implementing like this seems to work:

abscissaOf: aPoint
 ^ (self closestPointInfoTo: aPoint) second

It may need more testing, so I did not commit any code now.

hilaire (hilaire-fernandes) wrote :

The intersection tool broke when selecting a line and a polygon.
For now we should make polygon unselectable for intersection.

Changed in drgeo:
milestone: none → 13.04
Changed in drgeo:
importance: Undecided → Wishlist
assignee: nobody → Hilaire Fernandes (hilaire-fernandes)
Changed in drgeo:
status: New → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers