GeoAPI

 
50 of 309

Bearing has angle with no units.

Fixed

Description

The "getAngles" method for "...spatialschema.geometry.primitive.Bearing" returns an array of doubles with no units. This should be changed to conform to the "UML to Java" mapping page (stating that an additional "getAngleUnits" method is required) or just use the "Quantity" concept from JScience.

At the very least, the required units should be documented in the Javadoc.

Environment

None

Details

Assignee

Reporter

Priority

Created March 30, 2015 at 12:20 AM
Updated May 26, 2015 at 2:46 PM
Resolved May 26, 2015 at 2:46 PM

Activity

codehaus 
April 10, 2015 at 4:51 PM

CodeHaus Comment From: desruisseaux - Time: Tue, 28 Jul 2009 11:41:17 -0500
---------------------
<p>Fixed as suggested (added a <tt>getAngleUnit()</tt> method) as of revision 1445. The delay before commiting such a simple change has been way too long, mostly because we are lacking a "geometry expert" among the GeoAPI commiters. There is other geometry tasks pending which need to be assigned.</p>