closestPointTo: Do Not Understand

Bug #1301288 reported by hilaire on 2014-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Wishlist
Unassigned

Bug Description

Contrary to the written documentation, the message #closestPointTo: is not defined.

This method must be defined in the DrGWrappedCurve class.

hilaire (hilaire-fernandes) wrote :

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.

Changed in drgeo:
status: New → Opinion
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers