closestPointTo: Do Not Understand
Bug #1301288 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Contrary to the written documentation, the message #closestPointTo: is not defined.
This method must be defined in the DrGWrappedCurve class.
Changed in drgeo: | |
status: | Opinion → New |
Changed in drgeo: | |
importance: | High → Wishlist |
Changed in drgeo: | |
status: | New → Triaged |
tags: | added: programming |
tags: |
added: smalltalk-sketch removed: programming |
Changed in drgeo: | |
status: | Triaged → Incomplete |
To post a comment you must log in.
Oh but wait, it is only defined for Smalltalk Script. Such script should look like:
proche: ligneItem de: pointItem
^ ligneItem closestPointTo: pointItem point
BEWARE the "pointItem point" to really get the coordinates as pointItem is the logical point, not only its coordinates.
Yeah tricky. May be closestPointTo: should play nicely and deduce for the user. In that case all the API should have this treatment.