WrappedPoint missing in several method of the API

Bug #1203148 reported by hilaire on 2013-07-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
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
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.

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  Edit
Everyone can see this information.

Other bug subscribers