![]() |
|
|||||||
| Feature Discussion Education, discussion and proposals of WWJ features |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Aug 2009
Posts: 17
![]() |
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. |
|
|
|
|
|
#2 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,027
![]() |
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.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |