Package | Description |
---|---|
gov.nasa.worldwind | |
gov.nasa.worldwind.drag | |
gov.nasa.worldwind.geom | |
gov.nasa.worldwind.globes |
Provides classes for representing the shape and terrain of a planet.
|
gov.nasa.worldwind.ogc.collada.impl |
Provides classes for rendering COLLADA documents.
|
gov.nasa.worldwind.render | |
gov.nasa.worldwind.render.airspaces.editor | |
gov.nasa.worldwind.terrain | |
gov.nasa.worldwind.util | |
gov.nasa.worldwind.view |
The view package contains implementations, and support for implementations of the
View interface. |
gov.nasa.worldwindx.applications.antenna | |
gov.nasa.worldwindx.applications.sar | |
gov.nasa.worldwindx.applications.sar.segmentplane | |
gov.nasa.worldwindx.examples | |
gov.nasa.worldwindx.examples.lineofsight |
Examples of how to perform line of sight calculations in WorldWind.
|
gov.nasa.worldwindx.examples.shapebuilder |
Modifier and Type | Method and Description |
---|---|
Line |
View.computeRayFromScreenPoint(double x,
double y)
Computes a line, in model coordinates, originating from the eye point, and passing through the point contained by
(x, y) on the
View's projection plane (or after projection into model space). |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
DraggableSupport.computeGlobeIntersection(Line ray,
double altitude,
boolean useSearchMethod,
Globe globe,
SceneController sceneController)
|
protected Vec4 |
DraggableSupport.computeRelativePoint(Line ray,
Globe globe,
SceneController sceneController,
double altitude)
Attempts to find a position with the altitude specified for objects which are
WorldWind.RELATIVE_TO_GROUND . |
Modifier and Type | Method and Description |
---|---|
static Line |
Line.fromSegment(Vec4 pa,
Vec4 pb)
Create the line containing a line segement between two points.
|
Modifier and Type | Method and Description |
---|---|
Vec4 |
Triangle.intersect(Line line)
Determine the intersection of the triangle with a specified line.
|
Intersection[] |
Sphere.intersect(Line line)
Obtains the intersections of this sphere with a line.
|
Vec4 |
Plane.intersect(Line line)
Determine the intersection point of a line with this plane.
|
Intersection[] |
Extent.intersect(Line line)
Computes the intersections of this extent with
line . |
Intersection[] |
Cylinder.intersect(Line line)
Computes the intersections of this extent with
line . |
Intersection[] |
Box.intersect(Line line)
Computes the intersections of this extent with
line . |
static Intersection |
Triangle.intersect(Line line,
double vax,
double vay,
double vaz,
double vbx,
double vby,
double vbz,
double vcx,
double vcy,
double vcz)
Determines the intersection of a specified line with a triangle specified by individual coordinates.
|
static Intersection |
Triangle.intersect(Line line,
Vec4 a,
Vec4 b,
Vec4 c)
Determines the intersection of a specified line with a specified triangle.
|
double |
Plane.intersectDistance(Line line)
Determine the parametric point of intersection of a line with this plane.
|
boolean |
Sphere.intersects(Line line)
Tests for intersection with a
Line . |
boolean |
Extent.intersects(Line line)
Determines whether or not
line intersects this Extent . |
boolean |
Cylinder.intersects(Line line)
Determines whether or not
line intersects this Extent . |
boolean |
Box.intersects(Line line)
Determines whether or not
line intersects this Extent . |
static java.util.List<Intersection> |
Triangle.intersectTriangles(Line line,
java.nio.FloatBuffer vertices)
Compute the intersections of a line with a collection of triangles.
|
static java.util.List<Intersection> |
Triangle.intersectTriangles(Line line,
java.nio.FloatBuffer vertices,
java.nio.IntBuffer indices)
Compute the intersections of a line with a collection of triangles.
|
static java.util.List<Intersection> |
Triangle.intersectTriangleTypes(Line line,
java.nio.FloatBuffer vertices,
java.nio.IntBuffer indices,
int triangleType)
Compute the intersections of a line with a triangle collection.
|
static java.util.List<Intersection> |
Triangle.intersectTriFan(Line line,
java.nio.FloatBuffer vertices,
java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle fan.
|
static java.util.List<Intersection> |
Triangle.intersectTriFan(Line line,
Vec4[] vertices,
java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle fan.
|
static java.util.List<Intersection> |
Triangle.intersectTriStrip(Line line,
java.nio.FloatBuffer vertices,
java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle strip.
|
static java.util.List<Intersection> |
Triangle.intersectTriStrip(Line line,
Vec4[] vertices,
java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle strip.
|
Modifier and Type | Method and Description |
---|---|
Position |
Globe.getIntersectionPosition(Line line)
Computes the intersections of this globe and a line.
|
Position |
EllipsoidalGlobe.getIntersectionPosition(Line line) |
Intersection[] |
EllipsoidalGlobe.intersect(Line line) |
Intersection[] |
Globe.intersect(Line line,
double altitude)
Intersects a specified line with this globe.
|
Intersection[] |
EllipsoidalGlobe.intersect(Line line,
double altitude) |
protected Intersection[] |
FlatGlobe.intersect(Line line,
double equRadius,
double polarRadius) |
protected Intersection[] |
EllipsoidalGlobe.intersect(Line line,
double equRadius,
double polRadius) |
boolean |
FlatGlobe.intersects(Line line) |
boolean |
EllipsoidalGlobe.intersects(Line line) |
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 | Method and Description |
---|---|
protected void |
Polygon.intersect(Line line,
Polygon.ShapeData shapeData,
java.util.List<Intersection> intersections) |
protected void |
RigidShape.intersect(Line line,
RigidShape.ShapeData shapeData,
java.util.List<Intersection> intersections,
int index) |
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 java.util.List<Intersection> |
ExtrudedPolygon.intersectBoundarySides(Line line,
ExtrudedPolygon.ExtrudedBoundaryInfo boundary)
Intersects a line with the sides of an individual boundary.
|
protected void |
ExtrudedPolygon.intersectCap(Line line,
ExtrudedPolygon.ShapeData shapeData,
java.util.List<Intersection> intersections) |
java.util.List<Intersection> |
RigidShape.intersectFace(Line line,
int index,
Matrix renderMatrix)
Returns intersections of line with the ith face of this shape, Assumes we already know the line intersects the
shape somewhere (but perhaps not on this face)
|
Modifier and Type | Method and Description |
---|---|
static AirspaceControlPoint |
AirspaceEditorUtil.createControlPointFor(WorldWindow wwd,
Line ray,
AirspaceEditor editor,
Airspace airspace,
AirspaceEditorUtil.EdgeInfo edge) |
static Vec4 |
AirspaceEditorUtil.intersectAirspaceAltitudeAt(WorldWindow wwd,
Airspace airspace,
int altitudeIndex,
Line ray) |
static Vec4 |
AirspaceEditorUtil.intersectGlobeAt(WorldWindow wwd,
double elevation,
Line ray) |
static boolean |
AirspaceEditorUtil.isPointBehindLineOrigin(Line line,
Vec4 point) |
static Vec4 |
AirspaceEditorUtil.nearestIntersectionPoint(Line line,
Intersection[] intersections) |
static Vec4 |
AirspaceEditorUtil.nearestPointOnLine(Line source,
Line target) |
static AirspaceEditorUtil.EdgeInfo |
AirspaceEditorUtil.selectBestEdgeMatch(WorldWindow wwd,
Line ray,
Airspace airspace,
java.util.List<? extends AirspaceEditorUtil.EdgeInfo> edgeInfoList) |
static double |
AirspaceEditorUtil.surfaceElevationAt(WorldWindow wwd,
Line ray) |
Modifier and Type | Method and Description |
---|---|
protected Line |
HighResolutionTerrain.makeLineFromPositions(Position pA,
Position pB) |
Modifier and Type | Method and Description |
---|---|
protected void |
HighResolutionTerrain.doGetIntersectingTiles(int r0,
int c0,
int r1,
int c1,
Line line,
java.util.List<HighResolutionTerrain.RectTile> tiles) |
protected java.util.List<HighResolutionTerrain.RectTile> |
HighResolutionTerrain.getIntersectingTiles(Position pA,
Position pB,
Line line)
Determines and creates the terrain tiles intersected by a specified line.
|
protected Intersection[] |
HighResolutionTerrain.intersect(HighResolutionTerrain.RectTile tile,
Line line)
Computes the intersections of a line with a tile.
|
Intersection[] |
SectorGeometryList.intersect(Line line)
Determines if and where a ray intersects the geometry.
|
Intersection[] |
SectorGeometry.intersect(Line line)
Computes the Cartesian coordinates of a line's intersections with the geometry.
|
Intersection[] |
RectangularTessellator.RectTile.intersect(Line line) |
Intersection[] |
HighResolutionTerrain.intersect(Line line)
Deprecated.
|
protected Intersection[] |
RectangularTessellator.intersect(RectangularTessellator.RectTile tile,
Line line)
Determines if and where a ray intersects a
RectTile geometry. |
Modifier and Type | Method and Description |
---|---|
static Intersection[] |
WWMath.polytopeIntersect(Line line,
Plane[] planes)
Intersect a line with a convex polytope and return the intersection points.
|
Modifier and Type | Method and Description |
---|---|
Line |
BasicView.computeRayFromScreenPoint(double x,
double y) |
static Line |
ViewUtil.computeRayFromScreenPoint(View view,
double x,
double y,
Matrix modelview,
Matrix projection,
java.awt.Rectangle viewport) |
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 |
---|---|
Position |
SARSegmentPlane.getIntersectionPosition(Line line) |
Modifier and Type | Method and Description |
---|---|
Vec4 |
SegmentPlaneRenderer.intersect(Globe globe,
Line ray,
SegmentPlane segmentPlane) |
protected Vec4 |
SegmentPlaneRenderer.intersectRayWithFill(Line ray,
SegmentPlaneRenderer.RenderInfo renderInfo) |
protected Vec4 |
SegmentPlaneRenderer.intersectRayWithTriangleStrip(Line ray,
int count,
java.nio.IntBuffer indices,
java.nio.DoubleBuffer vertices,
Vec4 referenceCenter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Intersection> |
RadarVolume.intersect(Line line,
Terrain terrain) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Intersection> |
ShapeLineIntersector.performRenderableIntersection(Line line,
Renderable renderable) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
RigidShapeEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|
protected Vec4 |
ExtrudedPolygonEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|