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-42) Vector2D signedArea() Method

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

Matt Juntunen resolved GEOMETRY-42.
-----------------------------------
    Resolution: Implemented

> Vector2D signedArea() Method
> ----------------------------
>
>                 Key: GEOMETRY-42
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-42
>             Project: Apache Commons Geometry
>          Issue Type: New Feature
>            Reporter: Matt Juntunen
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We should add the following method to {{Vector2D}}:
> {code:java}
> public double signedArea(Vector2D v) { /* */ }
> {code}
> This method will return the signed area of the parallelogram formed by taking the current instance and the given vector as sides.
> This method should replace the existing {{cross}} method in {{Vector2D}} since it performs a similar operation and the cross product is not defined in 2 dimensions.
>  
> Pull request: [https://github.com/apache/commons-geometry/pull/26]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)