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

Luc Maisonobe commented on MATH-592:
------------------------------------

I was considering the Segment class too. However, this class is really a 
speciliazed one for internal purposes in PolygonsSet (there is an horrible hack 
with OrderedTuple).

I guess I may simplify this class to hold only the start and end point, make it 
public (it is package protected) and use it in the new API, and add an internal 
OrderedSegment (and OrderedSegmentBuilder) inside PolygonsSet.

I'll resolve this issue when this will be ready. Please be aware that due to 
this change, you will have to slightly adapt your code.

> 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