Matt Juntunen created GEOMETRY-42:
-------------------------------------
Summary: 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
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
(v7.6.3#76005)