Skip to content
RED SAGSkills
medium10 pts · first answer countshash-mapgeometryfloating-point

Slope as a map key

To find the most points on one line, you group other points by slope from each anchor point. Why store slope as a reduced (dy, dx) pair instead of dy / dx?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions