| Package | Description | 
|---|---|
| gov.nasa.worldwind.ogc.collada.impl | Provides classes for rendering COLLADA documents. | 
| gov.nasa.worldwind.render | |
| gov.nasa.worldwind.terrain | |
| gov.nasa.worldwind.util | |
| gov.nasa.worldwindx.applications.antenna | |
| gov.nasa.worldwindx.examples | |
| gov.nasa.worldwindx.examples.lineofsight | Examples of how to perform line of sight calculations in WorldWind. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Intersection> | ColladaMeshShape. intersect(Line line,
         Terrain terrain)Compute the intersections of a specified line with this shape. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Terrain | RigidShape. previousIntersectionTerrainThe terrain used in the most recent intersection calculations. | 
| protected Terrain | Polygon. previousIntersectionTerrainThe terrain used in the most recent intersection calculations. | 
| protected Terrain | ExtrudedPolygon. previousIntersectionTerrainThe terrain used in the most recent intersection calculations. | 
| protected Terrain | DrawContextImpl. terrain | 
| Modifier and Type | Method and Description | 
|---|---|
| Terrain | DrawContextImpl. getTerrain() | 
| Terrain | DrawContext. getTerrain()Returns a  Terrainobject that uses the current sector geometry or the current globe to compute surface
 points. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ExtrudedPolygon. computeBoundaryVertices(Terrain terrain,
                       ExtrudedPolygon.ExtrudedBoundaryInfo boundary,
                       Vec4 refPoint)Compute and set the Cartesian vertices for one specified boundary of this shape. | 
| protected void | Polygon. computeBoundaryVertices(Terrain terrain,
                       Polygon.BoundaryInfo boundary,
                       Vec4 refPoint,
                       Matrix rotationMatrix)Compute the vertices associated with a specified boundary. | 
| protected Vec4 | AbstractShape. computePoint(DrawContext dc,
            Terrain terrain,
            Position position)Computes a model-coordinate point from a position, applying this shape's altitude mode, and using
  CLAMP_TO_GROUNDif the current globe is 2D. | 
| protected Vec4 | AbstractShape. computePoint(Terrain terrain,
            Position position)Computes a model-coordinate point from a position, applying this shape's altitude mode. | 
| protected Vec4 | AbstractGeneralShape. computeReferencePoint(Terrain terrain) | 
| protected void | ExtrudedPolygon. computeReferencePoint(Terrain terrain,
                     ExtrudedPolygon.ShapeData shapeData)Computes and sets this shape's reference point, the Cartesian position corresponding to its geographic location. | 
| protected Vec4 | Polygon. computeReferencePoint(Terrain terrain,
                     Matrix rotationMatrix) | 
| protected void | ExtrudedPolygon. createFullGeometry(DrawContext dc,
                  Terrain terrain,
                  ExtrudedPolygon.ShapeData shapeData,
                  boolean skipOuterBoundary)Computes a boundary set's full geometry. | 
| protected void | Polygon. createFullGeometry(DrawContext dc,
                  Terrain terrain,
                  Polygon.ShapeData shapeData,
                  boolean skipOuterBoundary)Computes a shape's full geometry. | 
| protected RigidShape.ShapeData | Wedge. createIntersectionGeometry(Terrain terrain) | 
| protected abstract RigidShape.ShapeData | RigidShape. createIntersectionGeometry(Terrain terrain) | 
| protected RigidShape.ShapeData | Pyramid. createIntersectionGeometry(Terrain terrain) | 
| protected Polygon.ShapeData | Polygon. createIntersectionGeometry(Terrain terrain) | 
| protected ExtrudedPolygon.ShapeData | ExtrudedPolygon. createIntersectionGeometry(Terrain terrain) | 
| protected RigidShape.ShapeData | Ellipsoid. createIntersectionGeometry(Terrain terrain) | 
| protected RigidShape.ShapeData | Cylinder. createIntersectionGeometry(Terrain terrain) | 
| protected RigidShape.ShapeData | Cone. createIntersectionGeometry(Terrain terrain) | 
| protected RigidShape.ShapeData | Box. createIntersectionGeometry(Terrain terrain) | 
| protected void | ExtrudedPolygon. createVertices(Terrain terrain,
              ExtrudedPolygon.ShapeData shapeData,
              boolean skipOuterBoundary)Creates this shape's Cartesian vertices. | 
| protected void | Polygon. createVertices(Terrain terrain,
              Polygon.ShapeData shapeData,
              boolean skipOuterBoundary)Computes the Cartesian vertices for this shape. | 
| java.util.List<Intersection> | RigidShape. intersect(Line line,
         Terrain terrain)Compute the intersections of a specified line with this shape. | 
| java.util.List<Intersection> | Polygon. intersect(Line line,
         Terrain terrain)Compute the intersections of a specified line with this polygon. | 
| java.util.List<Intersection> | Path. intersect(Line line,
         Terrain terrain) | 
| java.util.List<Intersection> | ExtrudedPolygon. intersect(Line line,
         Terrain terrain)Compute the intersections of a specified line with this extruded polygon. | 
| abstract java.util.List<Intersection> | AbstractShape. intersect(Line line,
         Terrain terrain)Compute the intersections of a specified line with this shape. | 
| java.util.List<Intersection> | RigidShape. intersect(Line line,
         Terrain terrain,
         int index) | 
| protected boolean | RigidShape. isSameAsPreviousTerrain(Terrain terrain) | 
| protected boolean | Polygon. isSameAsPreviousTerrain(Terrain terrain) | 
| protected boolean | ExtrudedPolygon. isSameAsPreviousTerrain(Terrain terrain) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HighResolutionTerrainProvides operations on the best available terrain. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GeometryBuilder. makeCylinderVertices(Terrain terrain,
                    LatLon center,
                    double radius,
                    double[] altitudes,
                    boolean[] terrainConformant,
                    int slices,
                    int stacks,
                    Vec4 refPoint,
                    float[] dest) | 
| void | GeometryBuilder. makeCylinderVertices(Terrain terrain,
                    LatLon center,
                    double minorRadius,
                    double majorRadius,
                    Angle heading,
                    double[] altitudes,
                    boolean[] terrainConformant,
                    int slices,
                    int stacks,
                    Vec4 refPoint,
                    float[] dest) | 
| void | GeometryBuilder. makeDiskVertices(Terrain terrain,
                LatLon center,
                double[] radii,
                Angle heading,
                double altitude,
                boolean terrainConformant,
                int slices,
                int loops,
                Vec4 refPoint,
                float[] dest) | 
| void | GeometryBuilder. makeDiskVertices(Terrain terrain,
                LatLon center,
                double innerRadius,
                double outerRadius,
                double altitude,
                boolean terrainConformant,
                int slices,
                int loops,
                Vec4 refPoint,
                float[] dest) | 
| void | GeometryBuilder. makeLongCylinderVertices(Terrain terrain,
                        LatLon center1,
                        LatLon center2,
                        double radius,
                        double[] altitudes,
                        boolean[] terrainConformant,
                        int arcSlices,
                        int lengthSlices,
                        int stacks,
                        Vec4 refPoint,
                        float[] dest) | 
| void | GeometryBuilder. makeLongDiskVertices(Terrain terrain,
                    LatLon center1,
                    LatLon center2,
                    double innerRadius,
                    double outerRadius,
                    double altitude,
                    boolean terrainConformant,
                    int arcSlices,
                    int lengthSlices,
                    int loops,
                    Vec4 refPoint,
                    float[] dest) | 
| void | GeometryBuilder. makePartialCylinderVertices(Terrain terrain,
                           LatLon center,
                           double radius,
                           double[] altitudes,
                           boolean[] terrainConformant,
                           int slices,
                           int stacks,
                           double start,
                           double sweep,
                           Vec4 refPoint,
                           float[] dest) | 
| void | GeometryBuilder. makePartialDiskVertices(Terrain terrain,
                       LatLon center,
                       double innerRadius,
                       double outerRadius,
                       double altitude,
                       boolean terrainConformant,
                       int slices,
                       int loops,
                       double start,
                       double sweep,
                       Vec4 refPoint,
                       float[] dest) | 
| void | GeometryBuilder. makeRadialWallVertices(Terrain terrain,
                      LatLon center,
                      double innerRadius,
                      double outerRadius,
                      double angle,
                      double[] altitudes,
                      boolean[] terrainConformant,
                      int pillars,
                      int stacks,
                      Vec4 refPoint,
                      float[] dest) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Intersection> | AntennaModel. intersect(Line line,
         Terrain terrain) | 
| java.util.List<Intersection> | AntennaAxes. intersect(Line line,
         Terrain terrain) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Intersection> | RadarVolume. intersect(Line line,
         Terrain terrain) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Terrain | LineIntersector. terrain | 
| Modifier and Type | Method and Description | 
|---|---|
| Terrain | LineIntersector. getTerrain() | 
| Constructor and Description | 
|---|
| LineIntersector(Terrain terrain,
               int numThreads) | 
| ShapeLineIntersector(Terrain terrain,
                    int numThreads) | 
| TerrainLineIntersector(Terrain terrain,
                      int numThreads)Consruct an terrain intersector. |