You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (JIRA)" <ji...@apache.org> on 2019/02/10 14:07:00 UTC
[jira] [Resolved] (GEOMETRY-41) Vector Precision Equals
[ https://issues.apache.org/jira/browse/GEOMETRY-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Juntunen resolved GEOMETRY-41.
-----------------------------------
Resolution: Implemented
> Vector Precision Equals
> -----------------------
>
> Key: GEOMETRY-41
> URL: https://issues.apache.org/jira/browse/GEOMETRY-41
> Project: Apache Commons Geometry
> Issue Type: New Feature
> Reporter: Matt Juntunen
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{Vector?D}} classes should expose {{equals}} method overloads that allow a precision object from GEOMETRY-11 to be passed in to determine equality. I propose adding the following two methods:
> 1. {{boolean equals(Vector?D vec, DoublePrecisionContext precision)}}
> 2. {{boolean isZero(DoublePrecisionContext precision)}}
>
> Pull request: https://github.com/apache/commons-geometry/pull/24
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)