[ 
https://issues.apache.org/jira/browse/MATH-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Maisonobe resolved MATH-592.
--------------------------------

    Resolution: Fixed

Fix completed in subversion tree as of r1137749.
The Segment class is now public and simplified, and it is used to retrieve the 
endpoints.

One thing still bothers me, on the Line class. I would prefer to have it 
immutable, just like the various Vector classes and in fact I would like to 
have almost all classes in this geometry package immutable. This would imply 
some API changes in the partitioning package as applying a transform would 
create a new tree instead of changing it in place.

Would such a change still suit your needs or do you really want all these 
classes to be mutable ?

> Convenience Methods for Retrieving the Start and End Points of a SubLine
> ------------------------------------------------------------------------
>
>                 Key: MATH-592
>                 URL: https://issues.apache.org/jira/browse/MATH-592
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.0
>            Reporter: Curtis Jensen
>            Priority: Minor
>              Labels: Geometry, math
>             Fix For: 3.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> For convenience, it would be helpful to have methods in the SubLine class to 
> retrieve the start and end points of the SubLine.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to