WrappedPoint missing in several method of the API
Bug #1203148 reported by
hilaire
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 |
Changed in drgeo: | |
status: | New → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.