commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Commented] (GEOMETRY-49) Remove Point interface
Date Wed, 10 Apr 2019 21:02:00 GMT


Gilles commented on GEOMETRY-49:

The bug tracking system is not a good place to propose design changes.
You should post to the "dev" ML.  Thanks.

> Remove Point interface
> ----------------------
>                 Key: GEOMETRY-49
>                 URL:
>             Project: Apache Commons Geometry
>          Issue Type: Task
>            Reporter: Baljit Singh
>            Priority: Major
> Binding generic interfaces and classes with Point does not have any implications on most
classes. Point interface should be removed. For classes that do require a distance method,
there should be a Metric<P> (as in metric space) interface. This leads to a much cleaner
and consistent API. Also semantically, a point is just a bunch of coordinates, and does not
define distance... it is the metric that does.

This message was sent by Atlassian JIRA

View raw message