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

Gilles Sadowski commented on GEOMETRY-150:
------------------------------------------

bq. [...] move the isCodirectionalTo to Vectors.java. Correct?

Probably not; that class is in a package named {{internal}}.  Its use is only 
intended from within the library (hence application developers should not rely 
on methods there, that can change or disappear even in minor releases).

bq. How can people augment the vector function offerings without changing it?

You are right; modifying the API is a serious issue; that's why we avoid it 
until the next release major version.

This is practical example of the incremental approach for an "active" component 
to which I referred to on the "dev" ML.

> implement isCodirectionalTo(Vector y)
> -------------------------------------
>
>                 Key: GEOMETRY-150
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-150
>             Project: Commons Geometry
>          Issue Type: New Feature
>          Components: euclidean1D
>            Reporter: Dimitrios Efthymiou
>            Priority: Minor
>              Labels: features
>             Fix For: 1.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> implement isCodirectionalTo(Vector y) method in the Vector interface. The 
> isCodirectionalTo() checks if the 2 vectors point at the same direction. This 
> means that each vector can be obtained from the other by multiplying by a 
> positive scalar.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to