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.
|
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[] |
Sphere.intersect(Line line)
Obtains the intersections of this sphere with a 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 |
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 |
Sphere.intersects(Line line)
Tests for intersection with a
Line . |
boolean |
Box.intersects(Line line)
Determines whether or not
line intersects this Extent . |
static List<Intersection> |
Triangle.intersectTriangles(Line line,
FloatBuffer vertices)
Compute the intersections of a line with a collection of triangles.
|
static List<Intersection> |
Triangle.intersectTriangles(Line line,
FloatBuffer vertices,
IntBuffer indices)
Compute the intersections of a line with a collection of triangles.
|
static List<Intersection> |
Triangle.intersectTriangleTypes(Line line,
FloatBuffer vertices,
IntBuffer indices,
int triangleType)
Compute the intersections of a line with a triangle collection.
|
static List<Intersection> |
Triangle.intersectTriFan(Line line,
FloatBuffer vertices,
IntBuffer indices)
Compute the intersections of a line with a triangle fan.
|
static List<Intersection> |
Triangle.intersectTriFan(Line line,
Vec4[] vertices,
IntBuffer indices)
Compute the intersections of a line with a triangle fan.
|
static List<Intersection> |
Triangle.intersectTriStrip(Line line,
FloatBuffer vertices,
IntBuffer indices)
Compute the intersections of a line with a triangle strip.
|
static List<Intersection> |
Triangle.intersectTriStrip(Line line,
Vec4[] vertices,
IntBuffer indices)
Compute the intersections of a line with a triangle strip.
|
Modifier and Type | Method and Description |
---|---|
Position |
EllipsoidalGlobe.getIntersectionPosition(Line line) |
Position |
Globe.getIntersectionPosition(Line line)
Computes the intersections of this globe and a line.
|
Intersection[] |
EllipsoidalGlobe.intersect(Line line) |
Intersection[] |
EllipsoidalGlobe.intersect(Line line,
double altitude) |
Intersection[] |
Globe.intersect(Line line,
double altitude)
Intersects a specified line with this globe.
|
protected Intersection[] |
EllipsoidalGlobe.intersect(Line line,
double equRadius,
double polRadius) |
protected Intersection[] |
FlatGlobe.intersect(Line line,
double equRadius,
double polarRadius) |
boolean |
EllipsoidalGlobe.intersects(Line line) |
boolean |
FlatGlobe.intersects(Line line) |
Modifier and Type | Method and Description |
---|---|
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,
List<Intersection> intersections) |
protected void |
RigidShape.intersect(Line line,
RigidShape.ShapeData shapeData,
List<Intersection> intersections,
int index) |
List<Intersection> |
Path.intersect(Line line,
Terrain terrain) |
List<Intersection> |
Polygon.intersect(Line line,
Terrain terrain)
Compute the intersections of a specified line with this polygon.
|
List<Intersection> |
RigidShape.intersect(Line line,
Terrain terrain)
Compute the intersections of a specified line with this shape.
|
abstract List<Intersection> |
AbstractShape.intersect(Line line,
Terrain terrain)
Compute the intersections of a specified line with this shape.
|
List<Intersection> |
ExtrudedPolygon.intersect(Line line,
Terrain terrain)
Compute the intersections of a specified line with this extruded polygon.
|
List<Intersection> |
RigidShape.intersect(Line line,
Terrain terrain,
int index) |
protected 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,
List<Intersection> intersections) |
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,
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,
List<HighResolutionTerrain.RectTile> tiles) |
protected 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[] |
RectangularTessellator.RectTile.intersect(Line line) |
Intersection[] |
HighResolutionTerrain.intersect(Line line)
Deprecated.
|
Intersection[] |
SectorGeometry.intersect(Line line)
Computes the Cartesian coordinates of a line's intersections with the geometry.
|
Intersection[] |
SectorGeometryList.intersect(Line line)
Determines if and where a ray intersects the geometry.
|
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,
Rectangle viewport) |
Modifier and Type | Method and Description |
---|---|
List<Intersection> |
AntennaAxes.intersect(Line line,
Terrain terrain) |
List<Intersection> |
AntennaModel.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,
IntBuffer indices,
DoubleBuffer vertices,
Vec4 referenceCenter) |
Modifier and Type | Method and Description |
---|---|
List<Intersection> |
RadarVolume.intersect(Line line,
Terrain terrain) |
Modifier and Type | Method and Description |
---|---|
protected List<Intersection> |
ShapeLineIntersector.performRenderableIntersection(Line line,
Renderable renderable) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
ExtrudedPolygonEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|
protected Vec4 |
RigidShapeEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|