Uses of Class
gov.nasa.worldwind.geom.Line
-
Packages that use Line 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 theView
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 -
-
Uses of Line in gov.nasa.worldwind
Methods in gov.nasa.worldwind that return Line Modifier and Type Method 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 theView's
projection plane (or after projection into model space). -
Uses of Line in gov.nasa.worldwind.drag
Methods in gov.nasa.worldwind.drag with parameters of type Line Modifier and Type Method 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 areWorldWind.RELATIVE_TO_GROUND
. -
Uses of Line in gov.nasa.worldwind.geom
Methods in gov.nasa.worldwind.geom that return Line Modifier and Type Method Description static Line
Line. fromSegment(Vec4 pa, Vec4 pb)
Create the line containing a line segement between two points.Methods in gov.nasa.worldwind.geom with parameters of type Line Modifier and Type Method Description Intersection[]
Box. intersect(Line line)
Computes the intersections of this extent withline
.Intersection[]
Cylinder. intersect(Line line)
Computes the intersections of this extent withline
.Intersection[]
Extent. intersect(Line line)
Computes the intersections of this extent withline
.Vec4
Plane. intersect(Line line)
Determine the intersection point of a line with this plane.Intersection[]
Sphere. intersect(Line line)
Obtains the intersections of this sphere with a line.Vec4
Triangle. intersect(Line line)
Determine the intersection of the triangle with a specified 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
Box. intersects(Line line)
Determines whether or notline
intersects thisExtent
.boolean
Cylinder. intersects(Line line)
Determines whether or notline
intersects thisExtent
.boolean
Extent. intersects(Line line)
Determines whether or notline
intersects thisExtent
.boolean
Sphere. intersects(Line line)
Tests for intersection with aLine
.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, Vec4[] vertices, java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle fan.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. intersectTriStrip(Line line, Vec4[] vertices, java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle strip.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. -
Uses of Line in gov.nasa.worldwind.globes
Methods in gov.nasa.worldwind.globes with parameters of type Line Modifier and Type Method 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)
protected Intersection[]
EllipsoidalGlobe. intersect(Line line, double equRadius, double polRadius)
protected Intersection[]
FlatGlobe. intersect(Line line, double equRadius, double polarRadius)
Intersection[]
Globe. intersect(Line line, double altitude)
Intersects a specified line with this globe.boolean
EllipsoidalGlobe. intersects(Line line)
boolean
FlatGlobe. intersects(Line line)
-
Uses of Line in gov.nasa.worldwind.ogc.collada.impl
Methods in gov.nasa.worldwind.ogc.collada.impl with parameters of type Line Modifier and Type Method Description java.util.List<Intersection>
ColladaMeshShape. intersect(Line line, Terrain terrain)
Compute the intersections of a specified line with this shape. -
Uses of Line in gov.nasa.worldwind.render
Methods in gov.nasa.worldwind.render with parameters of type Line Modifier and Type Method Description 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>
ExtrudedPolygon. intersect(Line line, Terrain terrain)
Compute the intersections of a specified line with this extruded polygon.java.util.List<Intersection>
Path. intersect(Line line, Terrain terrain)
protected void
Polygon. intersect(Line line, Polygon.ShapeData shapeData, java.util.List<Intersection> intersections)
java.util.List<Intersection>
Polygon. intersect(Line line, Terrain terrain)
Compute the intersections of a specified line with this polygon.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>
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) -
Uses of Line in gov.nasa.worldwind.render.airspaces.editor
Methods in gov.nasa.worldwind.render.airspaces.editor with parameters of type Line Modifier and Type Method 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)
-
Uses of Line in gov.nasa.worldwind.terrain
Methods in gov.nasa.worldwind.terrain that return Line Modifier and Type Method Description protected Line
HighResolutionTerrain. makeLineFromPositions(Position pA, Position pB)
Methods in gov.nasa.worldwind.terrain with parameters of type Line Modifier and Type Method 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.protected Intersection[]
RectangularTessellator. intersect(RectangularTessellator.RectTile tile, Line line)
Determines if and where a ray intersects aRectTile
geometry.Intersection[]
RectangularTessellator.RectTile. intersect(Line line)
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. -
Uses of Line in gov.nasa.worldwind.util
Methods in gov.nasa.worldwind.util with parameters of type Line Modifier and Type Method Description static Intersection[]
WWMath. polytopeIntersect(Line line, Plane[] planes)
Intersect a line with a convex polytope and return the intersection points. -
Uses of Line in gov.nasa.worldwind.view
Methods in gov.nasa.worldwind.view that return Line Modifier and Type Method 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)
-
Uses of Line in gov.nasa.worldwindx.applications.antenna
Methods in gov.nasa.worldwindx.applications.antenna with parameters of type Line Modifier and Type Method Description java.util.List<Intersection>
AntennaAxes. intersect(Line line, Terrain terrain)
java.util.List<Intersection>
AntennaModel. intersect(Line line, Terrain terrain)
-
Uses of Line in gov.nasa.worldwindx.applications.sar
Methods in gov.nasa.worldwindx.applications.sar with parameters of type Line Modifier and Type Method Description Position
SARSegmentPlane. getIntersectionPosition(Line line)
-
Uses of Line in gov.nasa.worldwindx.applications.sar.segmentplane
Methods in gov.nasa.worldwindx.applications.sar.segmentplane with parameters of type Line Modifier and Type Method 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)
-
Uses of Line in gov.nasa.worldwindx.examples
Methods in gov.nasa.worldwindx.examples with parameters of type Line Modifier and Type Method Description java.util.List<Intersection>
RadarVolume. intersect(Line line, Terrain terrain)
-
Uses of Line in gov.nasa.worldwindx.examples.lineofsight
Methods in gov.nasa.worldwindx.examples.lineofsight with parameters of type Line Modifier and Type Method Description protected java.util.List<Intersection>
ShapeLineIntersector. performRenderableIntersection(Line line, Renderable renderable)
-
Uses of Line in gov.nasa.worldwindx.examples.shapebuilder
Methods in gov.nasa.worldwindx.examples.shapebuilder with parameters of type Line Modifier and Type Method 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.
-