You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (Jira)" <ji...@apache.org> on 2019/12/27 19:48:00 UTC
[jira] [Commented] (GEOMETRY-49) Remove Point interface
[ https://issues.apache.org/jira/browse/GEOMETRY-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004316#comment-17004316 ]
Matt Juntunen commented on GEOMETRY-49:
---------------------------------------
Are we able to close this?
> Remove Point interface
> ----------------------
>
> Key: GEOMETRY-49
> URL: https://issues.apache.org/jira/browse/GEOMETRY-49
> 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
(v8.3.4#803005)