WrappedPoint missing in several method of the API

Bug #1203148 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Wishlist
Unassigned

Bug Description

In the DrGeoCanvas Smaltalk API, the following method will benefit to wrap point as MathItem Point:

#abscissaOf:
#angle:to:to:
#distance:to:
#ordinateOf:

Changed in drgeo:
importance: Undecided → Wishlist
tags: added: api user-interface
Changed in drgeo:
milestone: none → 13.10
Revision history for this message
hilaire (hilaire-fernandes) wrote :

Argument to #abscissaOf: and #ordinateOf: messages can be a point item or a vector item.
Therefore if only coordinates is provided (i.e. 4@5), we can't deduce if the user want a point item or a vector item.
I propose we assume a point item is wished by default, thus if the user write:

sketch abscissaOf: 5@4

DrGeo will wrapped this 5@4 coordinate to a Point item.

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

#angle:to: can also use wrapped vectors

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.