Package gov.nasa.worldwind.geom
Interface MeasurableLength
-
- All Known Subinterfaces:
SurfaceShape
- All Known Implementing Classes:
AbstractSurfaceShape
,AreaMeasurer
,DirectedSurfacePolyline
,KMLSurfacePolygonImpl
,LengthMeasurer
,SectorSelector.RegionShape
,SurfaceBox
,SurfaceCircle
,SurfaceEllipse
,SurfaceMultiPolygon
,SurfacePolygon
,SurfacePolygons
,SurfacePolyline
,SurfacePolylines
,SurfaceQuad
,SurfaceSector
,SurfaceSquare
public interface MeasurableLength
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getLength(Globe globe)
Returns the object's length in meters.
-
-
-
Method Detail
-
getLength
double getLength(Globe globe)
Returns the object's length in meters. If the object conforms to terrain, the length is that along the terrain, including its hillsides and other undulations.- Parameters:
globe
- The globe the object is related to.- Returns:
- the object's length in meters.
- Throws:
java.lang.IllegalArgumentException
- if theglobe
is null.
-
-