NASA World Wind

gov.nasa.worldwind.geom
Interface MeasurableLength

All Known Subinterfaces:
SurfaceShape
All Known Implementing Classes:
AbstractSurfaceShape, AreaMeasurer, ConformingCircle, ConformingCircularPolygon, ConformingEllipse, ConformingEllipticalPolygon, ConformingPolygon, ConformingQuad, ConformingSector, ConformingShape, ConformingSquare, LengthMeasurer, SectorSelector.RegionShape, SurfaceCircle, SurfaceConcaveShape, SurfaceEllipse, SurfacePolygon, SurfacePolyline, SurfaceQuad, SurfaceSector, SurfaceSquare

public interface MeasurableLength


Method Summary
 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:
IllegalArgumentException - if the globe is null.

NASA World Wind