Uses of Class
gov.nasa.worldwind.geom.Intersection
-
Packages that use Intersection Package Description 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.worldwindx.applications.antenna gov.nasa.worldwindx.examples gov.nasa.worldwindx.examples.lineofsight Examples of how to perform line of sight calculations in WorldWind. -
-
Uses of Intersection in gov.nasa.worldwind.geom
Methods in gov.nasa.worldwind.geom that return Intersection 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
.Intersection[]
Sphere. intersect(Line line)
Obtains the intersections of this sphere with a 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.Methods in gov.nasa.worldwind.geom that return types with arguments of type Intersection Modifier and Type Method Description 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.static java.util.Queue<Intersection>
Intersection. sort(Vec4 refPoint, java.util.List<Intersection> listA, java.util.List<Intersection> listB)
Merges two lists of intersections into a single list sorted by intersection distance from a specified reference point.Methods in gov.nasa.worldwind.geom with parameters of type Intersection Modifier and Type Method Description Vec4
Line. nearestIntersectionPoint(Intersection[] intersections)
Method parameters in gov.nasa.worldwind.geom with type arguments of type Intersection Modifier and Type Method Description static java.util.Queue<Intersection>
Intersection. sort(Vec4 refPoint, java.util.List<Intersection> listA, java.util.List<Intersection> listB)
Merges two lists of intersections into a single list sorted by intersection distance from a specified reference point. -
Uses of Intersection in gov.nasa.worldwind.globes
Methods in gov.nasa.worldwind.globes that return Intersection Modifier and Type Method Description Intersection[]
EllipsoidalGlobe. intersect(Line line)
Intersection[]
EllipsoidalGlobe. intersect(Line line, double altitude)
protected Intersection[]
EllipsoidalGlobe. intersect(Line line, double equRadius, double polRadius)
Intersection[]
EllipsoidalGlobe. intersect(Triangle t, double elevation)
protected Intersection[]
FlatGlobe. intersect(Line line, double equRadius, double polarRadius)
Intersection[]
Globe. intersect(Line line, double altitude)
Intersects a specified line with this globe.Intersection[]
Globe. intersect(Triangle triangle, double altitude)
Intersects a specified triangle with the globe. -
Uses of Intersection in gov.nasa.worldwind.ogc.collada.impl
Methods in gov.nasa.worldwind.ogc.collada.impl that return types with arguments of type Intersection 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 Intersection in gov.nasa.worldwind.render
Methods in gov.nasa.worldwind.render that return types with arguments of type Intersection Modifier and Type Method Description protected java.util.ArrayList<Intersection>
ContourLine. filterIntersections(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the bounding sector.protected java.util.ArrayList<Intersection>
ContourLinePolygon. filterIntersections(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the current polygon.protected java.util.ArrayList<Intersection>
ContourLine. filterIntersectionsOnViewFrustum(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to the current view frustum.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)
java.util.List<Intersection>
Polygon. intersect(Line line, Terrain terrain)
Compute the intersections of a specified line with this polygon.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.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)Method parameters in gov.nasa.worldwind.render with type arguments of type Intersection Modifier and Type Method Description protected java.util.ArrayList<Intersection>
ContourLine. filterIntersections(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the bounding sector.protected java.util.ArrayList<Intersection>
ContourLinePolygon. filterIntersections(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the current polygon.protected java.util.ArrayList<Intersection>
ContourLine. filterIntersectionsOnViewFrustum(DrawContext dc, java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to the current view frustum.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)
protected void
ExtrudedPolygon. intersectCap(Line line, ExtrudedPolygon.ShapeData shapeData, java.util.List<Intersection> intersections)
protected int
ContourLine. makePathsConnected(DrawContext dc, java.util.ArrayList<Intersection> inter, int tolerance)
Add a set ofPath
objects to the contour line renderable list by connecting as much as possible the segments from the givenIntersection
array. -
Uses of Intersection in gov.nasa.worldwind.render.airspaces.editor
Methods in gov.nasa.worldwind.render.airspaces.editor with parameters of type Intersection Modifier and Type Method Description static Vec4
AirspaceEditorUtil. nearestIntersectionPoint(Line line, Intersection[] intersections)
-
Uses of Intersection in gov.nasa.worldwind.terrain
Methods in gov.nasa.worldwind.terrain that return Intersection Modifier and Type Method Description protected Intersection[]
HighResolutionTerrain. doIntersect(Position pA, Position pB)
Computes intersections of a line with the terrain.Intersection[]
HighResolutionTerrain. intersect(Position pA, Position pB)
Computes the intersections of a line with the terrain.Intersection[]
HighResolutionTerrain. intersect(Position pA, Position pB, int altitudeMode)
Computes the intersections of a line with the terrain.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, double elevation)
protected Intersection[]
RectangularTessellator. intersect(RectangularTessellator.RectTile tile, Line line)
Determines if and where a ray intersects aRectTile
geometry.Intersection[]
RectangularTessellator.RectTile. intersect(double elevation)
Intersection[]
RectangularTessellator.RectTile. intersect(Line line)
Intersection[]
SectorGeometry. intersect(double elevation)
Computes the geometry's intersections with a globe at a specified elevation.Intersection[]
SectorGeometry. intersect(Line line)
Computes the Cartesian coordinates of a line's intersections with the geometry.Intersection[]
SectorGeometryList. intersect(double elevation, Sector sector)
Determines if and where the geometry intersects the ellipsoid at a given elevation.Intersection[]
SectorGeometryList. intersect(Line line)
Determines if and where a ray intersects the geometry.Intersection[]
Terrain. intersect(Position pA, Position pB)
Computes the intersections of a line with the terrain.Intersection[]
Terrain. intersect(Position pA, Position pB, int altitudeMode)
Computes the intersections of a line with the terrain.Methods in gov.nasa.worldwind.terrain with parameters of type Intersection Modifier and Type Method Description void
HighResolutionTerrain.IntersectionCallback. intersection(Position pA, Position pB, Intersection[] intersections)
Called with the computed intersections for a line. -
Uses of Intersection in gov.nasa.worldwind.util
Methods in gov.nasa.worldwind.util that return Intersection 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 Intersection in gov.nasa.worldwindx.applications.antenna
Methods in gov.nasa.worldwindx.applications.antenna that return types with arguments of type Intersection 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 Intersection in gov.nasa.worldwindx.examples
Methods in gov.nasa.worldwindx.examples that return types with arguments of type Intersection Modifier and Type Method Description java.util.List<Intersection>
RadarVolume. intersect(Line line, Terrain terrain)
-
Uses of Intersection in gov.nasa.worldwindx.examples.lineofsight
Fields in gov.nasa.worldwindx.examples.lineofsight with type parameters of type Intersection Modifier and Type Field Description protected java.util.Map<Position,java.util.List<Intersection>>
LineIntersector. allIntersections
Methods in gov.nasa.worldwindx.examples.lineofsight that return types with arguments of type Intersection Modifier and Type Method Description java.util.Map<Position,java.util.List<Intersection>>
LineIntersector. getAllIntersections()
java.util.List<Intersection>
LineIntersector. getIntersections(Position position)
protected java.util.List<Intersection>
ShapeLineIntersector. performRenderableIntersection(Line line, Renderable renderable)
Methods in gov.nasa.worldwindx.examples.lineofsight with parameters of type Intersection Modifier and Type Method Description protected void
AbstractShapeIntersection.AppFrame. drawIntersection(Intersection intersection)
protected void
ExtrudedPolygonIntersection.AppFrame. drawIntersection(Intersection intersection)
protected void
PolygonIntersection.AppFrame. drawIntersection(Intersection intersection)
protected void
LinesOfSight.AppFrame. showIntersection(Intersection losi)
Method parameters in gov.nasa.worldwindx.examples.lineofsight with type arguments of type Intersection Modifier and Type Method Description protected void
LinesOfSight.AppFrame. showIntersections(java.util.Queue<Intersection> intersections)
-