Point on polygon

Bug #1034369 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
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]

Revision history for this message
hilaire (hilaire-fernandes) wrote :

In Polygon item:

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

In Polygon costume:
- isCurveCostume should return true

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.