World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Feature Discussion

Feature Discussion Education, discussion and proposals of WWJ features

Reply
 
Thread Tools Display Modes
Old 08-21-2010, 12:36 AM   #1
Chipootle
Junior Member
 
Join Date: Aug 2009
Posts: 17
Chipootle is on a distinguished road
Default Position and altitude

I am currently using worldwind-0.6.562.13630 and had a question about gov.nasa.worldwind.geom.Position.

Currently, there is a getAltitude() method that simply returns the elevation. I was wondering if an actual altitude variable would ever be implemented, that would for example, return the distance above the elevation.

I was going to subclass Position with my own altitude variable, but the getAltitude() function in the Position class is final, therefore I won't be able to override it. Of course, I can just change it to be getAlt() or something, but it is not as clean.
Chipootle is offline   Reply With Quote
Old 08-24-2010, 06:18 AM   #2
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,027
tag is on a distinguished road
Default

We don't have any plans to extend Position as you suggest. But there is no reason for the current accessors to be final, so we removed that constraint. The change will be in the 8/24/2010 release.
tag is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i get specific altitude value of a a position jenvy129 Feature Discussion 16 06-29-2010 08:55 AM
Position, Altitude and Elevation Kashank Development Help 4 06-03-2010 06:08 PM
Confusion about Position class nigel25840 Development Help 4 04-05-2010 09:00 AM
WW1.3.2-Plugin: Layer Edit canosso Add-ons & Scripts 21 02-27-2010 04:37 AM
Calculating a relative position kalinwilson Development Help 2 06-25-2009 05:08 PM


All times are GMT +1. The time now is 12:34 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.