|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MeasurableArea
This interfaces provides methods to query measurements of surface-defining objects. These methods all require a Globe parameter in order to compute their spatial location, and for terrain-confoming objects, the terrain elevations.
Method Summary | |
---|---|
double |
getArea(Globe globe)
Returns the object's area in square meters. |
double |
getHeight(Globe globe)
Returns the latitudanl length of the object in meters. |
double |
getPerimeter(Globe globe)
Returns the length of the object's perimeter in meters. |
double |
getWidth(Globe globe)
Returns the longitudinal length of the object in meters. |
Method Detail |
---|
double getArea(Globe globe)
globe
- The globe the object is related to.
IllegalArgumentException
- if the globe
is null.double getHeight(Globe globe)
globe
- The globe the object is related to.
IllegalArgumentException
- if the globe
is null.double getPerimeter(Globe globe)
globe
- The globe the object is related to.
IllegalArgumentException
- if the globe
is null.double getWidth(Globe globe)
globe
- The globe the object is related to.
IllegalArgumentException
- if the globe
is null.
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |