Re: [geometry] Additional Euclidean Point/Vector Methods

2018-06-25 Thread Matt Juntunen
Thanks, Gilles. "magnitude" sounds good. We'd then have "getMagnitude()" and "withMagnitude(double mag)". -Matt From: Gilles Sent: Monday, June 25, 2018 8:27:29 AM To: dev@commons.apache.org Subject: Re: [geometry] Additional

Re: [geometry] Additional Euclidean Point/Vector Methods

2018-06-25 Thread Gilles
On Sun, 24 Jun 2018 19:09:38 +, Matt Juntunen wrote: Hi all, I'd like to add some additional methods to the Euclidean Point/Vector classes. Some are for convenience/readability and some are critical pieces of functionality that I believe are missing. Vector Methods: 1. length() -

[geometry] Additional Euclidean Point/Vector Methods

2018-06-24 Thread Matt Juntunen
Hi all, I'd like to add some additional methods to the Euclidean Point/Vector classes. Some are for convenience/readability and some are critical pieces of functionality that I believe are missing. Vector Methods: 1. length() - Return the length of the vector; this is a more intuitive