public interface MeasurableArea
Modifier and Type | Method and Description |
---|---|
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.
|
double getArea(Globe globe)
globe
- The globe the object is related to.java.lang.IllegalArgumentException
- if the globe
is null.double getHeight(Globe globe)
globe
- The globe the object is related to.java.lang.IllegalArgumentException
- if the globe
is null.double getPerimeter(Globe globe)
globe
- The globe the object is related to.java.lang.IllegalArgumentException
- if the globe
is null.double getWidth(Globe globe)
globe
- The globe the object is related to.java.lang.IllegalArgumentException
- if the globe
is null.