[jira] [Resolved] (GEOMETRY-42) Vector2D signedArea() Method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (GEOMETRY-42) Vector2D signedArea() Method

JIRA jira@apache.org

     [ 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)