[
https://issues.apache.org/jira/browse/GEOMETRY-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Juntunen resolved GEOMETRY-27.
-----------------------------------
Resolution: Implemented
> OrientedPoint API Cleanup
> -------------------------
>
> Key: GEOMETRY-27
> URL: https://issues.apache.org/jira/browse/GEOMETRY-27
> Project: Apache Commons Geometry
> Issue Type: Wish
> Reporter: Matt Juntunen
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The following changes should be made to the {{OrientedPoint}} class:
> - replace {{direct}} boolean with {{direction}} {{Vector1D}} instance. The
> "direct" terminology is not clear to most users and having a vector to
> indicate the orientation of the point is much more intuitive and easier to
> work with.
> - add {{equals}}, {{hashCode}}, and {{toString}}
> - make the class immutable.
> - update documentation to be more accessible.
>
> Pull request: https://github.com/apache/commons-geometry/pull/27
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)