[ 
https://issues.apache.org/jira/browse/MATH-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972900#comment-14972900
 ] 

Gilles commented on MATH-1284:
------------------------------

Defining "vector" in terms of two "point"s makes it obvious, indeed.  Unless... 
the first point is the "origin".
I think that it is important to show what will go wrong when we wish to 
implement some geometrical concepts.

Perhaps it would be useful to start a discussion on the "dev" ML.
A proposal would be to just remove the {{Point}} interface, if what is 
currently implemented in CM only needs the "vector" concept.


> Vector is-not-a Point
> ---------------------
>
>                 Key: MATH-1284
>                 URL: https://issues.apache.org/jira/browse/MATH-1284
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Roman Werpachowski
>            Priority: Minor
>
> The class hierarchy for geometry claims that Vector is-a Point: 
> https://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/geometry/Point.html
> This is mathematically incorrect, see e.g. 
> http://math.stackexchange.com/a/645827
> Just because they share the same numerical representation, Point and Vector 
> shouldn't be crammed into a common class hierarchy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to