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

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

[jira] [Updated] (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 ]

ASF GitHub Bot updated GEOMETRY-42:
    Labels: pull-request-available  (was: )

> 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
> 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.

This message was sent by Atlassian JIRA