Uses of Class
gov.nasa.worldwind.geom.Vec4
-
-
Uses of Vec4 in gov.nasa.worldwind
Methods in gov.nasa.worldwind that return Vec4 Modifier and Type Method Description Vec4View. getCenterPoint()Gets the center point of the view.Vec4View. getCurrentEyePoint()Returns the most up-to-date location of the eye in cartesian coordinates.Vec4View. getEyePoint()Returns the location of the eye in cartesian coordinates.Vec4View. getForwardVector()Returns the forward axis in cartesian coordinates.Vec4View. getUpVector()Returns the up axis in cartesian coordinates.Vec4View. project(Vec4 modelPoint)Maps aPointin model (cartesian) coordinates to aPointin screen coordinates.Vec4View. unProject(Vec4 windowPoint)Maps aPointin screen coordinates to aPointin model coordinates.Methods in gov.nasa.worldwind with parameters of type Vec4 Modifier and Type Method Description Vec4View. project(Vec4 modelPoint)Maps aPointin model (cartesian) coordinates to aPointin screen coordinates.MatrixView. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)Defines and applies a new model-view matrix in which the world origin is located atreferenceCenter.MatrixView. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)Sets the reference center matrix without pushing the stack.Vec4View. unProject(Vec4 windowPoint)Maps aPointin screen coordinates to aPointin model coordinates. -
Uses of Vec4 in gov.nasa.worldwind.awt
Methods in gov.nasa.worldwind.awt that return Vec4 Modifier and Type Method Description protected Vec4AbstractViewInputHandler. computeSelectedPointAt(java.awt.Point point)Methods in gov.nasa.worldwind.awt with parameters of type Vec4 Modifier and Type Method Description doubleAbstractViewInputHandler. computeDragSlope(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)doubleViewInputHandler. computeDragSlope(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)Compute the drag slope the given screen and world coordinates.protected LatLonAbstractViewInputHandler. getChangeInLocation(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2) -
Uses of Vec4 in gov.nasa.worldwind.drag
Fields in gov.nasa.worldwind.drag declared as Vec4 Modifier and Type Field Description protected Vec4DraggableSupport. initialEllipsoidalReferencePointInitial drag operation cartesian coordinates of the objects reference position.protected Vec4DraggableSupport. initialEllipsoidalScreenPointInitial drag operation cartesian coordinates of the initial screen point.protected Vec4DraggableSupport. initialScreenPointOffsetInitial drag operation offset in x and y screen coordinates, between the object reference position and the screen point.Methods in gov.nasa.worldwind.drag that return Vec4 Modifier and Type Method Description protected Vec4DraggableSupport. computeEllipsoidalPointFromScreen(DragContext dragContext, java.awt.Point screenPoint, double altitude, boolean utilizeSearchMethod)Determines the cartesian coordinate of a screen point given the altitude mode.protected Vec4DraggableSupport. computeGlobeIntersection(Line ray, double altitude, boolean useSearchMethod, Globe globe, SceneController sceneController)protected Vec4DraggableSupport. 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.protected Vec4DraggableSupport. computeScreenOffsetFromReferencePosition(Position dragObjectReferencePosition, DragContext dragContext)Determines the offset in screen coordinates from the previous screen point (DragContext.getInitialPoint()and the objectsMovable.getReferencePosition()orMovable2.getReferencePosition()methods. -
Uses of Vec4 in gov.nasa.worldwind.geom
Fields in gov.nasa.worldwind.geom declared as Vec4 Modifier and Type Field Description protected Vec4Cylinder. axisUnitDirectionVec4Box. bottomCenterprotected Vec4Cylinder. bottomCenterprotected Vec4Box. centerprotected Vec4Sphere. centerVec4Frustum.Corners. fblVec4Frustum.Corners. fbrVec4Frustum.Corners. ftlVec4Frustum.Corners. ftrstatic Vec4Vec4. INFINITYprotected Vec4Intersection. intersectionPointVec4Frustum.Corners. nblVec4Frustum.Corners. nbrVec4Frustum.Corners. ntlVec4Frustum.Corners. ntrstatic Vec4Vec4. ONEVec4Triangle.TriangleIntersection. p0protected Vec4BarycentricTriangle. p00protected Vec4BarycentricTriangle. p01Vec4Triangle.TriangleIntersection. p1protected Vec4BarycentricTriangle. p10protected Vec4BarycentricQuadrilateral. p11protected Vec4BarycentricTriangle. q1protected Vec4BarycentricTriangle. q3protected Vec4Box. rprotected Vec4Box. ruprotected Vec4Box. sprotected Vec4Box. suprotected Vec4Box. tVec4Box. topCenterprotected Vec4Cylinder. topCenterprotected Vec4Box. tustatic Vec4Vec4. UNIT_NEGATIVE_Wstatic Vec4Vec4. UNIT_NEGATIVE_Xstatic Vec4Vec4. UNIT_NEGATIVE_Ystatic Vec4Vec4. UNIT_NEGATIVE_Zstatic Vec4Vec4. UNIT_Wstatic Vec4Vec4. UNIT_Xstatic Vec4Vec4. UNIT_Ystatic Vec4Vec4. UNIT_Zstatic Vec4Vec4. ZEROMethods in gov.nasa.worldwind.geom that return Vec4 Modifier and Type Method Description Vec4Vec4. add3(double x, double y, double z)Vec4Vec4. add3(Vec4 vec4)static Vec4Vec4. clamp3(Vec4 vec4, double min, double max)Vec4[]Plane. clip(Vec4 pa, Vec4 pb)Clip a line segment to this plane.static Vec4[]Line. clipToFrustum(Vec4 pa, Vec4 pb, Frustum frustum)Clip a line segment to a frustum, returning the end points of the portion of the segment that is within the frustum.static Vec4Vec4. computeAveragePoint(java.lang.Iterable<? extends Vec4> points)Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.static Vec4Vec4. computeAveragePoint3(BufferWrapper coordinates, int stride)Returns the arithmetic mean of the x, y, z coordinates of the specified points buffer.Vec4Sector. computeCenterPoint(Globe globe, double exaggeration)Computes the Cartesian coordinates of a Sector's center.Vec4[]Sector. computeCornerPoints(Globe globe, double exaggeration)Computes the Cartesian coordinates of a Sector's corners.static Vec4[]Vec4. computeExtrema(Vec4[] points)Calculate the extrema of a given array ofVec4s.static Vec4[]Vec4. computeExtrema(BufferWrapper buffer)Vec4Vec4. cross3(Vec4 vec4)Vec4Vec4. divide3(double value)Vec4Vec4. divide3(Vec4 vec4)Vec4Matrix. extractEyePoint()Extracts this viewing matrix's eye point.Vec4Matrix. extractForwardVector()Extracts this viewing matrix's forward vector.static Vec4Vec4. fromArray2(double[] array, int offset)Constructs a new Vec4 withxandyvalues from the specified double array.static Vec4Vec4. fromArray3(double[] array, int offset)Constructs a new Vec4 withx,yandzvalues from the specified double array.static Vec4Vec4. fromArray4(double[] array, int offset)Constructs a new Vec4 withx,y,zandwvalues from the specified double array.static Vec4Vec4. fromDoubleArray(double[] array, int offset, int length)Constructs a new Vec4 with coordinate values read from the specified double array.static Vec4Vec4. fromFloatArray(float[] array, int offset, int length)Constructs a new Vec4 with coordinate values read from the specified float array.static Vec4Vec4. fromLine3(Vec4 origin, double t, Vec4 direction)Vec4Triangle. getA()Returns the first vertex.Vec4Vec4. getAbs3()Vec4Quaternion. getAxis()Vec4Cylinder. getAxisUnitDirection()Returns the unit-length axis of this cylinder.Vec4Triangle. getB()Returns the second vertex.Vec4Box. getBottomCenter()Returns the point corresponding to the center of the box side left-most along the R (first) axis.Vec4Cylinder. getBottomCenter()Returns the this cylinder's bottom-center point.Vec4Triangle. getC()Returns the third vertex.Vec4Box. getCenter()Returns the box's center point.Vec4Cylinder. getCenter()Return this cylinder's center point.Vec4Extent. getCenter()Returns the extent's center point.Vec4Sphere. getCenter()Obtains the center of thisSphere.Vec4[]BilinearInterpolator. getCorners()Vec4[]Box. getCorners()Returns the eight corners of the box.Vec4Line. getDirection()Vec4Intersection. getIntersectionPoint()Returns the intersection point.Vec4Vec4. getNegative3()Vec4Plane. getNormal()Returns the plane's normal vector.Vec4Line. getOrigin()Vec4BarycentricTriangle. getP00()Vec4BarycentricTriangle. getP01()Vec4BarycentricTriangle. getP10()Vec4BarycentricQuadrilateral. getP11()Vec4BarycentricPlanarShape. getPoint(double[] w)Vec4BarycentricTriangle. getPoint(double[] w)Vec4Line. getPointAt(double t)Vec4Sphere. getPointOnSphere(LatLon location)Computes a point on the sphere corresponding to a specified location.Vec4Box. getRAxis()Returns the R (first) axis.Vec4Box. getSAxis()Returns the S (second) axis.Vec4Box. getTAxis()Returns the T (third) axis.Vec4Box. getTopCenter()Returns the point corresponding to the center of the box side right-most along the R (first) axis.Vec4Cylinder. getTopCenter()Returns the this cylinder's top-center point.Vec4Matrix. getTranslation()Vec4Box. getUnitRAxis()Returns the R (first) axis in unit length.Vec4Box. getUnitSAxis()Returns the S (second) axis in unit length.Vec4Box. getUnitTAxis()Returns the T (third) axis in unit length.Vec4Plane. getVector()Returns a 4-D vector holding the plane's normal and distance.Vec4BilinearInterpolator. interpolateAsPoint(double u, double v)Vec4Plane. intersect(Line line)Determine the intersection point of a line with this plane.static Vec4Plane. intersect(Plane pa, Plane pb, Plane pc)Compute the intersection of three planes.Vec4Plane. intersect(Vec4 pa, Vec4 pb)Test a line segment for intersection with this plane.Vec4Triangle. intersect(Line line)Determine the intersection of the triangle with a specified line.static Vec4Vec4. max3(Vec4 value1, Vec4 value2)static Vec4Vec4. min3(Vec4 value1, Vec4 value2)static Vec4Vec4. mix3(double amount, Vec4 value1, Vec4 value2)Vec4Vec4. multiply3(double value)Vec4Vec4. multiply3(Vec4 vec4)Vec4Line. nearestIntersectionPoint(Intersection[] intersections)static Vec4Line. nearestPointOnSegment(Vec4 p0, Vec4 p1, Vec4 p)Finds the closest point to a third point of a segment defined by two points.Vec4Line. nearestPointTo(Vec4 p)Vec4Vec4. normalize3()Vec4Vec4. perpendicularTo3(Vec4 vec4)Vec4[]Vec4. perpendicularVectors()Computes two vectors mutually perpendicular to this vector and each other.Vec4Vec4. projectOnto3(Vec4 vec4)Vec4Vec4. subtract3(double x, double y, double z)Vec4Vec4. subtract3(Vec4 vec4)Vec4PolarPoint. toCartesian()Obtains a cartesian point equivalent to thisPolarPoint, except in cartesian space.static Vec4PolarPoint. toCartesian(Angle latitude, Angle longitude, double radius)Obtains a cartesian point from a given latitude, longitude and distance from center.Vec4Vec4. toHomogeneousDirection3()Returns a representation of this vector as anx y zdirection suitable for use where four-dimensional homogeneous coordinates are required.Vec4Vec4. toHomogeneousPoint3()Returns a representation of this vector as anx y zpoint suitable for use where four-dimensional homogeneous coordinates are required.Vec4Matrix. transformBy3(Matrix matrix, double x, double y, double z)Vec4Vec4. transformBy3(Matrix matrix)Vec4Vec4. transformBy3(Quaternion quaternion)Vec4Vec4. transformBy4(Matrix matrix)Methods in gov.nasa.worldwind.geom with parameters of type Vec4 Modifier and Type Method Description Vec4Vec4. add3(Vec4 vec4)AngleVec4. angleBetween3(Vec4 vec4)static booleanVec4. areColinear(Vec4 a, Vec4 b, Vec4 c)Indicates whether three vectors are colinear.static AngleVec4. axisAngle(Vec4 v1, Vec4 v2, Vec4[] result)Compute the angle and rotation axis required to rotate one vector to align with another.static Vec4Vec4. clamp3(Vec4 vec4, double min, double max)Vec4[]Plane. clip(Vec4 pa, Vec4 pb)Clip a line segment to this plane.protected booleanCylinder. clipcyl(Vec4 raybase, Vec4 raycos, Vec4 bot, Vec4 top, Vec4 axis, double[] tVals)static Vec4[]Line. clipToFrustum(Vec4 pa, Vec4 pb, Frustum frustum)Clip a line segment to a frustum, returning the end points of the portion of the segment that is within the frustum.protected static Triangle.TriangleIntersectionTriangle. compute_intervals_isectline(Vec4[] v, double vv0, double vv1, double vv2, double d0, double d1, double d2, double d0d1, double d0d2)static voidMatrix. computeEigensystemFromSymmetricMatrix3(Matrix matrix, double[] outEigenvalues, Vec4[] outEigenvectors)Computes the eigensystem of the specified symmetric Matrix's upper 3x3 matrix.static Vec4[]Vec4. computeExtrema(Vec4[] points)Calculate the extrema of a given array ofVec4s.booleanBarycentricQuadrilateral. contains(Vec4 p)booleanBarycentricTriangle. contains(Vec4 p)booleanFrustum. contains(Vec4 point)Indicates whether a specified point is within this frustum.booleanTriangle. contains(Vec4 p)Indicates whether a specified point is on the triangle.protected static booleanTriangle. coplanarTriangles(Vec4 n, Vec4[] v, Vec4[] u)static SphereSphere. createBoundingSphere(Vec4[] points)Creates a sphere that completely contains a set of points.Vec4Vec4. cross3(Vec4 vec4)doubleLine. distanceTo(Vec4 p)Calculate the shortests distance between this line and a specifiedVec4.doublePlane. distanceTo(Vec4 p)doubleSector. distanceTo(DrawContext dc, Vec4 point)Returns an approximation of the distance in model coordinates between the surface geometry defined by this sector and the specified model coordinate point.doubleVec4. distanceTo2(Vec4 vec4)doubleVec4. distanceTo3(Vec4 vec4)static doubleLine. distanceToSegment(Vec4 p0, Vec4 p1, Vec4 p)doubleVec4. distanceToSquared3(Vec4 vec4)Vec4Vec4. divide3(Vec4 vec4)doublePlane. dot(Vec4 p)Calculates the 4-D dot product of this plane with a vector.doubleVec4. dot3(Vec4 vec4)doubleVec4. dot4(Vec4 vec4)protected voidBox. drawBox(DrawContext dc, Vec4 a, Vec4 b, Vec4 c, Vec4 d)protected voidBox. drawOutline(DrawContext dc, Vec4 a, Vec4 b, Vec4 c, Vec4 d)AVListMatrix. extractViewingParameters(Vec4 origin, Angle roll, Globe globe)Extracts this viewing matrix's parameters given a viewing origin and a globe.static MatrixMatrix. fromAxes(Vec4[] axes)Returns a Cartesian transformMatrixthat maps a local orientation to model coordinates.static MatrixMatrix. fromAxisAngle(Angle angle, Vec4 axis)static QuaternionQuaternion. fromAxisAngle(Angle angle, Vec4 axis)static PolarPointPolarPoint. fromCartesian(Vec4 cartesianPoint)Obtains aPolarPointfrom a cartesian point.static Vec4Vec4. fromLine3(Vec4 origin, double t, Vec4 direction)static MatrixMatrix. fromLocalOrientation(Vec4 origin, Vec4[] axes)Returns a Cartesian transformMatrixthat maps a local origin and orientation to model coordinates.static MatrixMatrix. fromModelLookAt(Vec4 eye, Vec4 center, Vec4 up)Returns a local origin transform matrix in model coordinates defined by the specified eye point, reference point indicating the center of the local scene, and up vector.static FrustumFrustum. fromPerspectiveVecs(Vec4 vTL, Vec4 vTR, Vec4 vBL, Vec4 vBR, double near, double far)Creates aFrustumfrom four edge vectors, viewport aspect ratio and distance to near and far planes.static PlanePlane. fromPoints(Vec4 pa, Vec4 pb, Vec4 pc)Returns the plane that passes through the specified three points.static MatrixMatrix. fromScale(Vec4 scale)static LineLine. fromSegment(Vec4 pa, Vec4 pb)Create the line containing a line segement between two points.static MatrixMatrix. fromTranslation(Vec4 translation)static MatrixMatrix. fromViewLookAt(Vec4 eye, Vec4 center, Vec4 up)Returns a viewing matrix in model coordinates defined by the specified View eye point, reference point indicating the center of the scene, and up vector.double[]BarycentricPlanarShape. getBarycentricCoords(Vec4 p)double[]BarycentricTriangle. getBarycentricCoords(Vec4 p)double[]BarycentricQuadrilateral. getBilinearCoords(Vec4 point)protected booleanCylinder. intcyl(Vec4 raybase, Vec4 raycos, Vec4 base, Vec4 axis, double radius, double[] tVals)Vec4Plane. intersect(Vec4 pa, Vec4 pb)Test a line segment for intersection with this plane.static IntersectionTriangle. intersect(Line line, Vec4 a, Vec4 b, Vec4 c)Determines the intersection of a specified line with a specified triangle.protected static Triangle.TriangleIntersectionTriangle. intersect(Vec4 v0, Vec4 v1, Vec4 v2, double vv0, double vv1, double vv2, double d0, double d1, double d2)protected doubleBox. intersectsAt(Plane plane, double effectiveRadius, Vec4[] endpoints)protected doubleCylinder. intersectsAt(Plane plane, double effectiveRadius, Vec4[] endpoints)booleanFrustum. intersectsSegment(Vec4 pa, Vec4 pb)Determines whether a line segment intersects this frustum.static intTriangle. intersectTriangles(Vec4[] v, Vec4[] u, Vec4[] intersectionVertices)Intersects two triangles and returns their intersection vertices.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, Vec4[] vertices, java.nio.IntBuffer indices)Compute the intersections of a line with a triangle strip.double[]BarycentricQuadrilateral. invertBilinear(Vec4 U)static double[]BarycentricQuadrilateral. invertBilinear(Vec4 U, Vec4 X, Vec4 Y, Vec4 Z, Vec4 W)booleanLine. isPointBehindLineOrigin(Vec4 point)Determine if a point is behind theLine's origin.static Vec4Vec4. max3(Vec4 value1, Vec4 value2)static Vec4Vec4. min3(Vec4 value1, Vec4 value2)static Vec4Vec4. mix3(double amount, Vec4 value1, Vec4 value2)Vec4Vec4. multiply3(Vec4 vec4)static Vec4Line. nearestPointOnSegment(Vec4 p0, Vec4 p1, Vec4 p)Finds the closest point to a third point of a segment defined by two points.Vec4Line. nearestPointTo(Vec4 p)intPlane. onSameSide(Vec4[] pts)Determines whether multiple points are on the same side of a plane.intPlane. onSameSide(Vec4 pa, Vec4 pb)Determines whether two points are on the same side of a plane.Vec4Vec4. perpendicularTo3(Vec4 vec4)Vec4Vec4. projectOnto3(Vec4 vec4)voidIntersection. setIntersectionPoint(Vec4 intersectionPoint)Specifies the intersection point.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.Vec4Vec4. subtract3(Vec4 vec4)BoxBox. translate(Vec4 point)Method parameters in gov.nasa.worldwind.geom with type arguments of type Vec4 Modifier and Type Method Description static Vec4Vec4. computeAveragePoint(java.lang.Iterable<? extends Vec4> points)Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.static BoxBox. computeBoundingBox(java.lang.Iterable<? extends Vec4> points)Compute aBoxthat bounds a specified list of points.static CylinderCylinder. computeBoundingCylinder(java.lang.Iterable<? extends Vec4> points)Compute a bounding cylinder for a collection of points.static MatrixMatrix. fromCovarianceOfVertices(java.lang.Iterable<? extends Vec4> points)Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified points Iterable.static doubleVec4. getAverageDistance(java.lang.Iterable<? extends Vec4> points)Constructors in gov.nasa.worldwind.geom with parameters of type Vec4 Constructor Description BarycentricQuadrilateral(Vec4 p00, Vec4 p10, Vec4 p11, Vec4 p01)BarycentricTriangle(Vec4 p00, Vec4 p10, Vec4 p01)BilinearInterpolator(Vec4 ll, Vec4 lr, Vec4 ur, Vec4 ul)Box(Vec4 point)Construct a unit-length cube centered at a specified point.Box(Vec4[] axes, double rMin, double rMax, double sMin, double sMax, double tMin, double tMax)Construct a box from three specified unit axes and the locations of the box faces relative to those axes.Box(Vec4 bottomCenter, Vec4 topCenter, Vec4 center, Vec4 r, Vec4 s, Vec4 t, Vec4 ru, Vec4 su, Vec4 tu, double rlength, double sLength, double tLength, Plane[] planes)Cylinder(Vec4 bottomCenter, Vec4 topCenter, double cylinderRadius)Create a Cylinder from two points and a radius.Cylinder(Vec4 bottomCenter, Vec4 topCenter, double cylinderRadius, Vec4 unitDirection)Create a Cylinder from two points, a radius and an axis direction.Intersection(Vec4 intersectionPoint, boolean isTangent)Constructs an Intersection from an intersection point and tangency indicator.Intersection(Vec4 intersectionPoint, double intersectionLength, boolean isTangent)Constructs an Intersection from an intersection point and tangency indicator.Intersection(Vec4 intersectionPoint, Position intersectionPosition, boolean isTangent, java.lang.Object object)Line(Vec4 origin, Vec4 direction)Plane(Vec4 vec)Constructs a plane from a 4-D vector giving the plane normal vector and distance.Sphere(Vec4 center, double radius)Creates a newSpherefrom a given center and radius.Triangle(Vec4 a, Vec4 b, Vec4 c)Construct a triangle from three counter-clockwise ordered vertices. -
Uses of Vec4 in gov.nasa.worldwind.globes
Fields in gov.nasa.worldwind.globes declared as Vec4 Modifier and Type Field Description protected Vec4FlatGlobe. offsetVectorMethods in gov.nasa.worldwind.globes that return Vec4 Modifier and Type Method Description Vec4EllipsoidalGlobe. computeEllipsoidalNormalAtLocation(Angle latitude, Angle longitude)Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian coordinates.Vec4Globe. computeEllipsoidalNormalAtLocation(Angle latitude, Angle longitude)Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian coordinates.Vec4EllipsoidalGlobe. computeEllipsoidalPointFromLocation(LatLon location)Computes a ellipsoidal point from a latitude and longitude.Vec4Globe. computeEllipsoidalPointFromLocation(LatLon location)Computes a ellipsoidal point from a latitude and longitude.Vec4EllipsoidalGlobe. computeEllipsoidalPointFromPosition(Angle latitude, Angle longitude, double metersElevation)Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4EllipsoidalGlobe. computeEllipsoidalPointFromPosition(Position position)Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4Globe. computeEllipsoidalPointFromPosition(Angle latitude, Angle longitude, double metersElevation)Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4Globe. computeEllipsoidalPointFromPosition(Position position)Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4EllipsoidalGlobe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)Vec4FlatGlobe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)Vec4Globe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)Computes a vector tangent to this globe and pointing toward the north pole.Vec4EllipsoidalGlobe. computePointFromLocation(LatLon location)Vec4Globe. computePointFromLocation(LatLon location)Computes a cartesian point from a geographic location on the surface of this globe.Vec4EllipsoidalGlobe. computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)Vec4EllipsoidalGlobe. computePointFromPosition(LatLon latLon, double metersElevation)Vec4EllipsoidalGlobe. computePointFromPosition(Position position)Vec4Globe. computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)Computes a cartesian point from a latitude, longitude, and elevation.Vec4Globe. computePointFromPosition(LatLon latLon, double metersElevation)Computes a cartesian point from a geographic location and elevation.Vec4Globe. computePointFromPosition(Position position)Computes a cartesian point from a geographic position.Vec4EllipsoidalGlobe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)Returns the normal to the Globe at the specified position.Vec4FlatGlobe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)Vec4Globe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)Computes a vector perpendicular to the surface of this globe in cartesian coordinates.Vec4EllipsoidalGlobe. computeSurfaceNormalAtPoint(Vec4 point)Returns the normal to the Globe at the specified cartiesian point.Vec4FlatGlobe. computeSurfaceNormalAtPoint(Vec4 point)Vec4Globe. computeSurfaceNormalAtPoint(Vec4 point)Computes a vector perpendicular to the surface of this globe, at a cartesian point.protected Vec4EllipsoidalGlobe. geodeticToCartesian(Angle latitude, Angle longitude, double metersElevation)Maps a position to world Cartesian coordinates.protected Vec4FlatGlobe. geodeticToCartesian(Angle latitude, Angle longitude, double metersElevation)Maps a position to a flat world Cartesian coordinates.protected Vec4EllipsoidalGlobe. geodeticToEllipsoidal(Angle latitude, Angle longitude, double metersElevation)Maps a position to ellipsoidal coordinates.Vec4GeographicProjection. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Converts a geographic position to meters in Cartesian coordinates.Vec4EllipsoidalGlobe. getCenter()Vec4GeographicProjection. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Computes a Cartesian vector that points north and is tangent to the meridian at the specified geographic location.Methods in gov.nasa.worldwind.globes with parameters of type Vec4 Modifier and Type Method Description protected PositionEllipsoidalGlobe. cartesianToGeodetic(Vec4 cart)Compute the geographic position to corresponds to a Cartesian point.protected PositionFlatGlobe. cartesianToGeodetic(Vec4 cart)PositionGeographicProjection. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)Converts a Cartesian point in meters to a geographic position.voidEllipsoidalGlobe. computePointsFromPositions(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)Computes a grid of cartesian points corresponding to a grid of geographic positions.voidGlobe. computePointsFromPositions(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)Computes a grid of cartesian points corresponding to a grid of geographic positions.PositionEllipsoidalGlobe. computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)Computes the geographic position of a point in ellipsoidal coordinates.PositionGlobe. computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)Computes the geographic position of a point in ellipsoidal coordinates.PositionEllipsoidalGlobe. computePositionFromPoint(Vec4 point)PositionGlobe. computePositionFromPoint(Vec4 point)Computes the geographic position of a point in cartesian coordinates.Vec4EllipsoidalGlobe. computeSurfaceNormalAtPoint(Vec4 point)Returns the normal to the Globe at the specified cartiesian point.Vec4FlatGlobe. computeSurfaceNormalAtPoint(Vec4 point)Vec4Globe. computeSurfaceNormalAtPoint(Vec4 point)Computes a vector perpendicular to the surface of this globe, at a cartesian point.protected PositionEllipsoidalGlobe. ellipsoidalToGeodetic(Vec4 cart)Compute the geographic position to corresponds to an ellipsoidal point.protected voidEllipsoidalGlobe. geodeticToCartesian(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)Maps a grid of geographic positions to Cartesian coordinates.protected voidFlatGlobe. geodeticToCartesian(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)Vec4GeographicProjection. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Converts a geographic position to meters in Cartesian coordinates.voidGeographicProjection. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Converts a grid of geographic positions to a grid of points in Cartesian coordinates.booleanEllipsoidalGlobe. isPointAboveElevation(Vec4 point, double elevation)Determines whether a point is above a given elevationbooleanFlatGlobe. isPointAboveElevation(Vec4 point, double elevation)Determines whether a point is above a given elevationbooleanGlobe. isPointAboveElevation(Vec4 point, double elevation)Determines whether a point is above a given elevation.Constructors in gov.nasa.worldwind.globes with parameters of type Vec4 Constructor Description EllipsoidalGlobe(double equatorialRadius, double polarRadius, double es, ElevationModel em, Vec4 center)Create a new globe, and set the position of the globe's center. -
Uses of Vec4 in gov.nasa.worldwind.globes.projections
Methods in gov.nasa.worldwind.globes.projections that return Vec4 Modifier and Type Method Description Vec4ProjectionEquirectangular. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionPolarEquidistant. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionTransverseMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionUPS. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionUPS. geographicToCartesianNGA(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)Vec4ProjectionEquirectangular. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionMercator. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionModifiedSinusoidal. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionPolarEquidistant. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionSinusoidal. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionTransverseMercator. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Vec4ProjectionUPS. northPointingTangent(Globe globe, Angle latitude, Angle longitude)Methods in gov.nasa.worldwind.globes.projections with parameters of type Vec4 Modifier and Type Method Description PositionProjectionEquirectangular. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionMercator. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionModifiedSinusoidal. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionPolarEquidistant. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionSinusoidal. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionTransverseMercator. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionUPS. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)PositionProjectionUPS. cartesianToGeographicNGA(Globe globe, Vec4 cart, Vec4 offset)Vec4ProjectionEquirectangular. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionEquirectangular. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionMercator. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionPolarEquidistant. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionPolarEquidistant. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionSinusoidal. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionTransverseMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionTransverseMercator. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionUPS. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)voidProjectionUPS. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)Vec4ProjectionUPS. geographicToCartesianNGA(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset) -
Uses of Vec4 in gov.nasa.worldwind.layers
Fields in gov.nasa.worldwind.layers declared as Vec4 Modifier and Type Field Description protected Vec4AbstractGraticuleLayer. lastEyePointprotected Vec4CompassLayer. locationCenterprotected Vec4ScalebarLayer. locationCenterprotected Vec4ViewControlsLayer. locationCenterprotected Vec4WorldMapLayer. locationCenterprotected Vec4CompassLayer. locationOffsetprotected Vec4ScalebarLayer. locationOffsetprotected Vec4TerrainProfileLayer. locationOffsetprotected Vec4ViewControlsLayer. locationOffsetprotected Vec4WorldMapLayer. locationOffsetMethods in gov.nasa.worldwind.layers that return Vec4 Modifier and Type Method Description protected static Vec4SkyGradientLayer. CartesianToSpherical(double x, double y, double z)Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.protected Vec4CompassLayer. computeLocation(java.awt.Rectangle viewport, double scale)protected Vec4TerrainProfileLayer. computeLocation(java.awt.Rectangle viewport, double scale)protected Vec4WorldMapLayer. computeLocation(java.awt.Rectangle viewport, double scale)protected Vec4TiledImageLayer. computeReferencePoint(DrawContext dc)protected Vec4ViewControlsSelectListener. computeSurfacePoint(OrbitView view, Angle heading, Angle pitch)Find out where on the terrain surface the eye would be looking at with the given heading and pitch angles.Vec4TextureTile. getCentroidPoint(Globe globe)Vec4CompassLayer. getLocationCenter()Returns the current compass image location.Vec4CrosshairLayer. getLocationCenter()Get the crosshair location inside the viewport.Vec4ScalebarLayer. getLocationCenter()Returns the current scalebar center location.Vec4ViewControlsLayer. getLocationCenter()Returns the current layer image location.Vec4WorldMapLayer. getLocationCenter()Returns the current worldmap image location.Vec4CompassLayer. getLocationOffset()Returns the current location offset.Vec4ScalebarLayer. getLocationOffset()Returns the current location offset.Vec4TerrainProfileLayer. getLocationOffset()Returns the current location offset.Vec4ViewControlsLayer. getLocationOffset()Returns the current location offset.Vec4WorldMapLayer. getLocationOffset()Returns the current location offset.protected Vec4TiledImageLayer. getReferencePoint(DrawContext dc)protected Vec4AbstractGraticuleLayer. getSurfacePoint(DrawContext dc, Angle latitude, Angle longitude)protected static Vec4SkyGradientLayer. SphericalToCartesian(double latitude, double longitude, double radius)Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.Methods in gov.nasa.worldwind.layers with parameters of type Vec4 Modifier and Type Method Description protected PositionTerrainProfileLayer. computePickPosition(DrawContext dc, Vec4 locationSW, java.awt.Dimension mapSize)Computes the Position of the pickPoint over the graph and updates pickedSample indiceprotected PositionWorldMapLayer. computePickPosition(DrawContext dc, Vec4 locationSW, java.awt.Dimension mapSize)Computes the lat/lon of the pickPoint over the world mapprotected voidTerrainProfileLayer. drawFilledRectangle(DrawContext dc, Vec4 origin, java.awt.Dimension dimension, java.awt.Color color)protected voidTerrainProfileLayer. drawLabel(DrawContext dc, java.lang.String text, Vec4 screenPoint, int align)voidCompassLayer. setLocationCenter(Vec4 locationCenter)Specifies the screen location of the compass image, relative to the image's center.voidCrosshairLayer. setLocationCenter(Vec4 locationCenter)Set the crosshair location inside the viewport.voidScalebarLayer. setLocationCenter(Vec4 locationCenter)Specifies the screen location of the scalebar center.voidViewControlsLayer. setLocationCenter(Vec4 locationCenter)Specifies the screen location of the layer, relative to the image's center.voidWorldMapLayer. setLocationCenter(Vec4 locationCenter)Specifies the screen location of the worldmap image, relative to the image's center.voidCompassLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the compass' position on the screen.voidScalebarLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the scalebar's position on the screen.voidTerrainProfileLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the layer position on the screen.voidViewControlsLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the layer position on the screen.voidWorldMapLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the worldmap's position on the screen. -
Uses of Vec4 in gov.nasa.worldwind.layers.mercator
Methods in gov.nasa.worldwind.layers.mercator that return Vec4 Modifier and Type Method Description protected Vec4MercatorTiledImageLayer. getReferencePoint() -
Uses of Vec4 in gov.nasa.worldwind.layers.placename
Fields in gov.nasa.worldwind.layers.placename declared as Vec4 Modifier and Type Field Description protected Vec4PlaceNameLayer. referencePointMethods in gov.nasa.worldwind.layers.placename that return Vec4 Modifier and Type Method Description protected Vec4PlaceNameLayer. computeReferencePoint(DrawContext dc)protected Vec4PlaceNameLayer. getReferencePoint() -
Uses of Vec4 in gov.nasa.worldwind.ogc.collada
Fields in gov.nasa.worldwind.ogc.collada declared as Vec4 Modifier and Type Field Description protected Vec4ColladaRoot. modelScaleA scale to apply to the model.Methods in gov.nasa.worldwind.ogc.collada that return Vec4 Modifier and Type Method Description Vec4ColladaRoot. getModelScale()Indicates this shape's scale, if any.Methods in gov.nasa.worldwind.ogc.collada with parameters of type Vec4 Modifier and Type Method Description voidColladaRoot. setModelScale(Vec4 modelScale)Specifies this shape's scale. -
Uses of Vec4 in gov.nasa.worldwind.ogc.collada.impl
Fields in gov.nasa.worldwind.ogc.collada.impl declared as Vec4 Modifier and Type Field Description protected Vec4ColladaMeshShape.ShapeData. referenceCenterCached reference center for the shape.Methods in gov.nasa.worldwind.ogc.collada.impl that return Vec4 Modifier and Type Method Description protected Vec4ColladaMeshShape. computeReferenceCenter(DrawContext dc)Computes this shape's reference center. -
Uses of Vec4 in gov.nasa.worldwind.ogc.gml
Methods in gov.nasa.worldwind.ogc.gml that return types with arguments of type Vec4 Modifier and Type Method Description java.util.List<Vec4>GMLRectifiedGrid. getOffsetVectors() -
Uses of Vec4 in gov.nasa.worldwind.ogc.kml
Fields in gov.nasa.worldwind.ogc.kml with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<Vec4>KMLRegion.RegionData. pointsIndicates the model-coordinate points representing the corners and interior of this entry's Region.Methods in gov.nasa.worldwind.ogc.kml that return types with arguments of type Vec4 Modifier and Type Method Description java.util.List<Vec4>KMLRegion.RegionData. getPoints()Indicates the model-coordinate points representing the corners and interior of this entry's Region.Method parameters in gov.nasa.worldwind.ogc.kml with type arguments of type Vec4 Modifier and Type Method Description voidKMLRegion.RegionData. setPoints(java.util.List<Vec4> points)Specifies the model-coordinate points representing the corners and interior of this entry's Region. -
Uses of Vec4 in gov.nasa.worldwind.render
Fields in gov.nasa.worldwind.render declared as Vec4 Modifier and Type Field Description protected Vec4[]ExtrudedPolygon.ExtrudedBoundaryInfo. baseVerticesThe vertices defining the boundary's base.protected Vec4[]ExtrudedPolygon.ExtrudedBoundaryInfo. capVerticesThe vertices defining the boundary's cap.protected Vec4BasicLightingModel. lightDirectionprotected Vec4AbstractGeneralShape. modelScaleA scale to apply to the model.protected Vec4GlobeBrowserBalloon.OrderedGlobeBrowserBalloon. placePointThe model-coordinate point corresponding to this balloon's position.protected Vec4PointPlacemark.OrderedPlacemark. placePointprotected Vec4PointPlacemark. placePointprotected Vec4DeclutterableText. pointprotected Vec4IconRenderer.OrderedIcon. pointprotected Vec4IconRenderer.OrderedText. pointprotected Vec4Polyline. referenceCenterPointDeprecated.protected Vec4AbstractShape.AbstractShapeData. referencePointThis entry's reference point.protected Vec4GlobeBrowserBalloon.OrderedGlobeBrowserBalloon. screenPlacePointThe projection of this balloon'splacePointin the viewport (on the screen).protected Vec4PointPlacemark.OrderedPlacemark. screenPointprotected Vec4PointPlacemark. screenPointprotected Vec4PointPlacemark.OrderedPlacemark. terrainPointprotected Vec4PointPlacemark. terrainPointprotected Vec4[]Polygon.BoundaryInfo. verticesThe shape's computed vertices, arranged in one array.Fields in gov.nasa.worldwind.render with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<java.util.List<Vec4>>Polyline. currentSpansDeprecated.Methods in gov.nasa.worldwind.render that return Vec4 Modifier and Type Method Description protected Vec4AbstractSurfaceRenderable. computeDrawPoint(LatLon location, SurfaceTileDrawContext sdc)protected Vec4PointPlacemark. computeLabelPoint(DrawContext dc, PointPlacemark.OrderedPlacemark opm)Computes the screen coordinate (lower-left origin) location of this placemark's label.protected Vec4AbstractShape. computePoint(DrawContext dc, Terrain terrain, Position position)Computes a model-coordinate point from a position, applying this shape's altitude mode, and usingCLAMP_TO_GROUNDif the current globe is 2D.protected Vec4AbstractShape. computePoint(Terrain terrain, Position position)Computes a model-coordinate point from a position, applying this shape's altitude mode.protected Vec4Polyline. computePoint(DrawContext dc, Position pos, boolean applyOffset)Deprecated.Vec4DrawContext. computePointFromPosition(Position position, int altitudeMode)Computes a Cartesian point from a specified geographic position, applying a specified altitude mode.Vec4DrawContextImpl. computePointFromPosition(Position position, int altitudeMode)protected Vec4ExtrudedPolygon. computePolygonNormal(ExtrudedPolygon.ShapeData shapeData)protected Vec4Polygon. computePolygonNormal(DrawContext dc, Polygon.ShapeData shapeData)protected Vec4Path. computeReferenceCenter(DrawContext dc)Computes this path's reference center.protected Vec4AbstractGeneralShape. computeReferencePoint(Terrain terrain)protected Vec4Polygon. computeReferencePoint(Terrain terrain, Matrix rotationMatrix)protected Vec4RigidShape. computeReferencePoint(Globe globe, double verticalExaggeration)Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.Vec4RigidShape. computeReferencePoint(DrawContext dc)Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.protected Vec4TrackRenderer. computeSurfacePoint(DrawContext dc, TrackPoint tp)Vec4DrawContext. computeTerrainPoint(Angle lat, Angle lon, double offset)Compute a model-coordinate point on the terrain.Vec4DrawContextImpl. computeTerrainPoint(Angle lat, Angle lon, double offset)protected Vec4TrackRenderer. draw(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions)protected Vec4IconRenderer. drawIcon(DrawContext dc, IconRenderer.OrderedIcon uIcon)protected Vec4DeclutteringTextRenderer. drawText(DrawContext dc, DeclutterableText uText, double scale, double opacity)protected Vec4GeographicTextRenderer. drawText(DrawContext dc, GeographicTextRenderer.OrderedText uText, double scale, double opacity)protected Vec4BasicAnnotationRenderer. getAnnotationDrawPoint(DrawContext dc, Annotation annotation)Get the final Vec4 point at which an annotation will be drawn.Vec4GlobeAnnotation. getAnnotationDrawPoint(DrawContext dc)Get the final Vec4 point at which an annotation will be drawn.protected Vec4GlobeAnnotation. getAnnotationDrawPointLegacy(DrawContext dc)Compute the draw point using the legacy altitude mode.Vec4BasicLightingModel. getLightDirection()Returns the model's light direction.Vec4SurfaceIcon. getLocationOffset()Get the icon displacement in pixels relative to the reference location.Vec4AbstractGeneralShape. getModelScale()Indicates this shape's scale, if any.Vec4PointPlacemark.OrderedPlacemark. getPlacePoint()Vec4DeclutterableText. getPoint()Vec4IconRenderer.OrderedIcon. getPoint()Vec4DrawContext. getPointOnTerrain(Angle latitude, Angle longitude)Computes a location's Cartesian point on the currently visible terrain.Vec4DrawContextImpl. getPointOnTerrain(Angle latitude, Angle longitude)Vec4AbstractShape.AbstractShapeData. getReferencePoint()Vec4AbstractShape. getReferencePoint()Returns the Cartesian coordinates of this shape's reference position as computed during the most recent rendering.Vec4PointPlacemark.OrderedPlacemark. getScreenPoint()Vec4PointPlacemark.OrderedPlacemark. getTerrainPoint()Vec4UserFacingIcon. getToolTipOffset()Vec4WWIcon. getToolTipOffset()Indicates the offset in screen coordinates at which to place the lower left corner of the icon tool tip's text box.Vec4TrackRenderer. pick(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions, java.awt.Point pickPoint, Layer layer)Vec4TrackRenderer. render(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions)protected Vec4FramebufferTexture. transformToQuadCoordinates(Matrix geoToCartesian, LatLon latLon)Methods in gov.nasa.worldwind.render that return types with arguments of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)Deprecated.protected java.util.ArrayList<Vec4>Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)Deprecated.protected java.util.ArrayList<Vec4>Polyline. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)Deprecated.Methods in gov.nasa.worldwind.render with parameters of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)Deprecated.protected voidIconRenderer. addToolTip(DrawContext dc, WWIcon icon, Vec4 iconPoint)protected voidIconRenderer. applyBackground(DrawContext dc, WWIcon icon, Vec4 screenPoint, double width, double height, double pedestalSpacing, double pedestalScale)protected voidBasicLightingModel. applyStandardLightDirection(com.jogamp.opengl.GL2 gl, int light, Vec4 direction)protected java.util.ArrayList<Vec4>Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)Deprecated.protected voidExtrudedPolygon. computeBoundaryVertices(Terrain terrain, ExtrudedPolygon.ExtrudedBoundaryInfo boundary, Vec4 refPoint)Compute and set the Cartesian vertices for one specified boundary of this shape.protected voidPolygon. computeBoundaryVertices(Terrain terrain, Polygon.BoundaryInfo boundary, Vec4 refPoint, Matrix rotationMatrix)Compute the vertices associated with a specified boundary.protected double[]GlobeAnnotation. computeDistanceScaleAndOpacity(DrawContext dc, Vec4 point, java.awt.Dimension size)protected java.awt.geom.Point2D.FloatDeclutteringTextRenderer. computeDrawPoint(java.awt.geom.Rectangle2D rect, Vec4 screenPoint)Computes the final draw point for the given rectangle lower left corner and target screen point.protected java.awt.geom.Point2D.FloatGeographicTextRenderer. computeDrawPoint(DrawContext dc, java.awt.geom.Rectangle2D rect, Vec4 screenPoint)Computes the final draw point for the given rectangle lower left corner and target screen point.protected ExtentExtrudedPolygon. computeExtent(ExtrudedPolygon.ExtrudedBoundaryInfo outerBoundary, Vec4 refPoint)Computes this shapes extent.protected ExtentPolygon. computeExtent(Polygon.BoundaryInfo boundary, Vec4 refPoint)Computes the Cartesian extent of a polygon boundary.protected voidIconRenderer. doRecordFeedback(DrawContext dc, WWIcon icon, Vec4 modelPoint, java.awt.Rectangle screenRect)Records feedback about how the specified WWIcon has been processed.protected voidTrackRenderer.Cylinder. doRender(DrawContext dc, Vec4 point, double size)protected abstract voidTrackRenderer.Shape. doRender(DrawContext dc, Vec4 point, double radius)protected voidBasicAnnotationRenderer. drawOne(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)protected java.nio.FloatBufferExtrudedPolygon. fillSideNormalBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer nBuf)protected voidExtrudedPolygon. fillSideTexCoordBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer tBuf)Computes the texture coordinates for a boundary of this shape.protected java.nio.FloatBufferExtrudedPolygon. fillSideVertexBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer vBuf)protected booleanPath. isSegmentVisible(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)Determines whether the segment between two path positions is visible.protected booleanPolyline. isSegmentVisible(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)Deprecated.protected booleanPath. isSmall(DrawContext dc, Vec4 ptA, Vec4 ptB, int numPixels)protected voidPath. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB, java.awt.Color colorA, java.awt.Color colorB, int ordinalA, int ordinalB, Path.PathData pathData)Creates the interior segment positions to adhere to the current path type and terrain-following settings.protected java.util.ArrayList<Vec4>Polyline. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)Deprecated.voidAnnotationRenderer. pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, java.awt.Point pickPoint, Layer annotationLayer)voidBasicAnnotationRenderer. pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, java.awt.Point pickPoint, Layer layer)protected voidIconRenderer. recordFeedback(DrawContext dc, WWIcon icon, Vec4 modelPoint, java.awt.Rectangle screenRect)If feedback is enabled for the specified WWIcon, this method records feedback about how the specified WWIcon has been processed.voidAnnotationRenderer. render(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)voidBasicAnnotationRenderer. render(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)voidGeographicTextRenderer. render(DrawContext dc, GeographicText text, Vec4 textPoint)protected voidTrackRenderer.Shape. render(DrawContext dc, Vec4 point, double radius)protected voidDeclutteringTextRenderer. setDepthFunc(DrawContext dc, Vec4 screenPoint)protected voidGeographicTextRenderer. setDepthFunc(DrawContext dc, GeographicTextRenderer.OrderedText uText, Vec4 screenPoint)protected voidGlobeAnnotation. setDepthFunc(DrawContext dc, Vec4 screenPoint)protected voidIconRenderer. setDepthFunc(DrawContext dc, IconRenderer.OrderedIcon uIcon, Vec4 screenPoint)voidBasicLightingModel. setLightDirection(Vec4 lightDirection)Specifies the model's light direction.voidSurfaceIcon. setLocationOffset(Vec4 locationOffset)Set the icon displacement in pixels relative to the reference location.voidAbstractGeneralShape. setModelScale(Vec4 modelScale)Specifies this shape's scale.voidAbstractShape.AbstractShapeData. setReferencePoint(Vec4 referencePoint)voidUserFacingIcon. setToolTipOffset(Vec4 toolTipOffset)voidWWIcon. setToolTipOffset(Vec4 toolTipOffset)Indicates the offset in screen coordinates at which to place the lower left corner of the icon tool tip's text box.protected voidExtrudedPolygon. tessellatePolygon(ExtrudedPolygon.ShapeData shapeData, Vec4 normal)Tessellates the polygon from its vertices.protected voidPolygon. tessellatePolygon(Polygon.ShapeData shapeData, Vec4 normal)Tessellates the polygon from its vertices.Method parameters in gov.nasa.worldwind.render with type arguments of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)Deprecated.protected voidPolyline. addSpan(java.util.ArrayList<Vec4> span)Deprecated.protected java.util.ArrayList<Vec4>Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)Deprecated.Constructors in gov.nasa.worldwind.render with parameters of type Vec4 Constructor Description OrderedIcon(WWIcon icon, Vec4 point, Layer layer, double eyeDistance, double horizonDistance)OrderedText(java.lang.String text, java.awt.Font font, Vec4 point, java.awt.Color color, double eyeDistance)OrderedText(java.lang.String text, java.awt.Font font, Vec4 point, java.awt.Point pickPoint, Layer layer, double eyeDistance) -
Uses of Vec4 in gov.nasa.worldwind.render.airspaces
Fields in gov.nasa.worldwind.render.airspaces with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<Vec4>AbstractAirspace.AirspaceInfo. minimalGeometryMethods in gov.nasa.worldwind.render.airspaces that return Vec4 Modifier and Type Method Description Vec4AbstractAirspace. computePointFromPosition(DrawContext dc, Angle latitude, Angle longitude, double elevation, boolean terrainConformant)protected Vec4Box. computeReferenceCenter(DrawContext dc)protected Vec4CappedCylinder. computeReferenceCenter(DrawContext dc)protected Vec4CappedEllipticalCylinder. computeReferenceCenter(DrawContext dc)protected Vec4Curtain. computeReferenceCenter(DrawContext dc)protected Vec4Orbit. computeReferenceCenter(DrawContext dc)protected Vec4Polygon. computeReferenceCenter(DrawContext dc)Methods in gov.nasa.worldwind.render.airspaces that return types with arguments of type Vec4 Modifier and Type Method Description protected abstract java.util.List<Vec4>AbstractAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>AbstractAirspace. computeMinimalGeometry(DrawContext dc)protected java.util.List<Vec4>Box. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>Cake. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>CappedCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>CappedEllipticalCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>Curtain. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>Orbit. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>PartialCappedCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>PolyArc. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>Polygon. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>SphereAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)protected java.util.List<Vec4>TrackAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)Methods in gov.nasa.worldwind.render.airspaces with parameters of type Vec4 Modifier and Type Method Description protected intPolygon. computeEllipsoidalPolygon(Globe globe, java.util.List<? extends LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags, Vec4[] points, java.lang.Boolean[] edgeFlagArray, Matrix[] transform)protected voidCurtain. drawCurtainFill(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)protected voidCurtain. drawCurtainOutline(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)protected Curtain.CurtainGeometryCurtain. getCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)protected voidCurtain. makeCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter, Curtain.CurtainGeometry dest)protected voidCurtain. makeSectionVertices(DrawContext dc, LatLon begin, LatLon end, java.lang.String pathType, double[] altitude, boolean[] terrainConformant, int pillars, int vertexPos, float[] dest, Vec4 referenceCenter)Method parameters in gov.nasa.worldwind.render.airspaces with type arguments of type Vec4 Modifier and Type Method Description protected voidAbstractAirspace. makeExtremePoints(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends LatLon> locations, java.util.List<Vec4> extremePoints)Constructor parameters in gov.nasa.worldwind.render.airspaces with type arguments of type Vec4 Constructor Description AirspaceInfo(DrawContext dc, Extent extent, java.util.List<Vec4> minimalGeometry) -
Uses of Vec4 in gov.nasa.worldwind.render.airspaces.editor
Methods in gov.nasa.worldwind.render.airspaces.editor that return Vec4 Modifier and Type Method Description static Vec4AirspaceEditorUtil. computeSurfacePoint(WorldWindow wwd, Angle latitude, Angle longitude)protected Vec4SphereAirspaceEditor. getCenterPoint(WorldWindow wwd, Airspace airspace)Vec4BasicAirspaceControlPointRenderer. getLightDirection()Vec4AirspaceControlPoint. getPoint()Vec4BasicAirspaceControlPoint. getPoint()static Vec4AirspaceEditorUtil. intersectAirspaceAltitudeAt(WorldWindow wwd, Airspace airspace, int altitudeIndex, Line ray)static Vec4AirspaceEditorUtil. intersectGlobeAt(WorldWindow wwd, double elevation, Line ray)static Vec4AirspaceEditorUtil. nearestIntersectionPoint(Line line, Intersection[] intersections)static Vec4AirspaceEditorUtil. nearestPointOnLine(Line source, Line target)static Vec4AirspaceEditorUtil. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)Methods in gov.nasa.worldwind.render.airspaces.editor with parameters of type Vec4 Modifier and Type Method Description static doubleAirspaceEditorUtil. computeHeightAboveSurface(WorldWindow wwd, Vec4 point)protected doubleBasicAirspaceControlPointRenderer. computeMarkerRadius(DrawContext dc, Marker marker, Vec4 point)static booleanAirspaceEditorUtil. isPointBehindLineOrigin(Line line, Vec4 point)static Vec4AirspaceEditorUtil. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)voidBasicAirspaceControlPointRenderer. setLightDirection(Vec4 direction)Constructors in gov.nasa.worldwind.render.airspaces.editor with parameters of type Vec4 Constructor Description BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, int locationIndex, int altitudeIndex, Vec4 point)BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, Vec4 point)EdgeInfo(int locationIndex, int nextLocationIndex, int altitudeIndex, Vec4 point1, Vec4 point2) -
Uses of Vec4 in gov.nasa.worldwind.render.markers
Fields in gov.nasa.worldwind.render.markers declared as Vec4 Modifier and Type Field Description protected Vec4MarkerRenderer.OrderedMarker. pointMethods in gov.nasa.worldwind.render.markers that return Vec4 Modifier and Type Method Description protected Vec4BasicMarkerShape.Shape. computeOrientationVector(DrawContext dc, Vec4 point, Vec4 normal, Angle heading, Angle pitch)Compute a direction vector given a point, heading and pitch.protected Vec4MarkerRenderer. computeSurfacePoint(DrawContext dc, Position pos)Methods in gov.nasa.worldwind.render.markers with parameters of type Vec4 Modifier and Type Method Description protected doubleMarkerRenderer. computeMarkerRadius(DrawContext dc, Vec4 point, Marker marker)protected Vec4BasicMarkerShape.Shape. computeOrientationVector(DrawContext dc, Vec4 point, Vec4 normal, Angle heading, Angle pitch)Compute a direction vector given a point, heading and pitch.protected voidBasicMarkerShape.Cone. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)protected voidBasicMarkerShape.Cube. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)protected voidBasicMarkerShape.Cylinder. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)protected voidBasicMarkerShape.HeadingArrow. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)protected voidBasicMarkerShape.HeadingLine. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)protected abstract voidBasicMarkerShape.Shape. doRender(DrawContext dc, Marker marker, Vec4 point, double radius, int[] dlResource)protected voidBasicMarkerShape.Sphere. doRender(DrawContext dc, Marker marker, Vec4 point, double radius, int[] dlResource)protected booleanMarkerRenderer. intersectsFrustum(DrawContext dc, Vec4 point, double radius)voidBasicMarker. render(DrawContext dc, Vec4 point, double radius)voidBasicMarker. render(DrawContext dc, Vec4 point, double radius, boolean isRelative)voidBasicMarkerShape.CompoundShape. render(DrawContext dc, Marker marker, Vec4 point, double radius)voidBasicMarkerShape.CompoundShape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)voidBasicMarkerShape.Shape. render(DrawContext dc, Marker marker, Vec4 point, double radius)voidBasicMarkerShape.Shape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)voidMarker. render(DrawContext dc, Vec4 point, double radius)voidMarker. render(DrawContext dc, Vec4 point, double radius, boolean isRelative)voidMarkerShape. render(DrawContext dc, Marker marker, Vec4 point, double radius)voidMarkerShape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)Constructors in gov.nasa.worldwind.render.markers with parameters of type Vec4 Constructor Description OrderedMarker(int index, Marker marker, Vec4 point, double radius, Layer layer, double eyeDistance) -
Uses of Vec4 in gov.nasa.worldwind.symbology
Fields in gov.nasa.worldwind.symbology declared as Vec4 Modifier and Type Field Description Vec4AbstractTacticalSymbol.OrderedSymbol. placePointPer-frame Cartesian point corresponding to this symbol's position.protected Vec4TacticalGraphicLabel.OrderedLabel. placePointGeographic position in cartesian coordinates.protected Vec4TacticalGraphicLabel.OrderedLabel. screenPlacePointLocation of the place point projected onto the screen.Vec4AbstractTacticalSymbol.OrderedSymbol. screenPointPer-frame screen point corresponding to the projection of the placePoint in the viewport (on the screen).Methods in gov.nasa.worldwind.symbology that return Vec4 Modifier and Type Method Description static Vec4TacticalGraphicUtil. bezierCurve(Vec4[] controlPoints, double t, int[] coefficients)Compute a point along a Bezier curve defined by a list of control points.Methods in gov.nasa.worldwind.symbology with parameters of type Vec4 Modifier and Type Method Description static java.util.List<Position>TacticalGraphicUtil. asPositionList(Globe globe, Vec4... points)Convert a list of cartesian points to Positions.static Vec4TacticalGraphicUtil. bezierCurve(Vec4[] controlPoints, double t, int[] coefficients)Compute a point along a Bezier curve defined by a list of control points.protected AngleTacticalGraphicLabel. computeRotation(Vec4 screenPoint, Vec4 orientationScreenPoint)Compute the amount of rotation to apply to a label in order to keep it oriented toward its orientation position. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525
Methods in gov.nasa.worldwind.symbology.milstd2525 that return Vec4 Modifier and Type Method Description protected static Vec4MilStd2525Util. computeDirectionOfMovement(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)Compute a vector in the direction that a symbol is moving.Methods in gov.nasa.worldwind.symbology.milstd2525 with parameters of type Vec4 Modifier and Type Method Description static java.util.List<? extends java.awt.geom.Point2D>MilStd2525Util. computeCenterHeadingIndicatorPoints(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)Compute screen points required to draw a leader line on a tactical symbol.protected static Vec4MilStd2525Util. computeDirectionOfMovement(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)Compute a vector in the direction that a symbol is moving.static java.util.List<? extends java.awt.geom.Point2D>MilStd2525Util. computeGroundHeadingIndicatorPoints(DrawContext dc, Vec4 symbolPoint, Angle heading, double length, double frameHeight)Compute screen points required to draw a leader line on a tactical ground symbol. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525.graphics
Methods in gov.nasa.worldwind.symbology.milstd2525.graphics with parameters of type Vec4 Modifier and Type Method Description protected AngleEchelonSymbol. computeRotation(Vec4 screenPoint, Vec4 orientationScreenPoint)Compute the amount of rotation to apply to a label in order to keep it oriented toward its orientation position. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525.graphics.lines
Methods in gov.nasa.worldwind.symbology.milstd2525.graphics.lines that return Vec4 Modifier and Type Method Description protected Vec4InfiltrationLane. bezierNearestPointToSegment(Vec4 p0, Vec4 p1, Vec4[] controlPoints, int[] coefficients, double tolerance)Determine the point along a Bezier curve that is closest to a line segment.protected Vec4[]DirectionOfAttackForFeint. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, double curvature)Compute the position of control points that will generate a Bezier curve that looks like the Direction of Attack for Feint graphic in MIL-STD-2525C (pg.protected Vec4[]InfiltrationLane. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, int numControlPoints, double curvature)Compute the position of control points that will generate a Bezier curve that looks like the Infiltration Lane graphic in MIL-STD-2525C (pg.protected Vec4DirectionOfAttackAviation. hermiteCurve(Vec4 pt1, Vec4 pt2, Vec4 tangent1, Vec4 tangent2, double t)Compute a point along a Hermite curve defined by two control point and tangent vectors at those points.Methods in gov.nasa.worldwind.symbology.milstd2525.graphics.lines with parameters of type Vec4 Modifier and Type Method Description protected Vec4InfiltrationLane. bezierNearestPointToSegment(Vec4 p0, Vec4 p1, Vec4[] controlPoints, int[] coefficients, double tolerance)Determine the point along a Bezier curve that is closest to a line segment.protected java.util.List<Position>DirectionOfAttack. computeArrowheadPositions(DrawContext dc, Vec4 tip, Vec4 dir, double length)Determine the positions that make up the arrowhead.protected Vec4[]DirectionOfAttackForFeint. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, double curvature)Compute the position of control points that will generate a Bezier curve that looks like the Direction of Attack for Feint graphic in MIL-STD-2525C (pg.protected Vec4[]InfiltrationLane. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, int numControlPoints, double curvature)Compute the position of control points that will generate a Bezier curve that looks like the Infiltration Lane graphic in MIL-STD-2525C (pg.protected voidHoldingLine. computeRoundCorner(Globe globe, java.util.List<Position> positions, Vec4 ptLeg1, Vec4 ptVertex, Vec4 ptLeg2, double distance, int intervals)Compute positions to draw a rounded corner between three points.protected java.util.List<Position>LinearTarget. computeVerticalSegmentPositions(Globe globe, Vec4 basePoint, Vec4 segment, double verticalLength)Compute positions for one of the vertical segments in the graphic.protected voidLineOfContact. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double halfWidth, Globe globe)Compute points on either side of a line segment.protected Vec4DirectionOfAttackAviation. hermiteCurve(Vec4 pt1, Vec4 pt2, Vec4 tangent1, Vec4 tangent2, double t)Compute a point along a Hermite curve defined by two control point and tangent vectors at those points. -
Uses of Vec4 in gov.nasa.worldwind.terrain
Fields in gov.nasa.worldwind.terrain declared as Vec4 Modifier and Type Field Description protected Vec4HighResolutionTerrain.RenderInfo. referenceCenterprotected Vec4RectangularTessellator.RenderInfo. referenceCenterMethods in gov.nasa.worldwind.terrain that return Vec4 Modifier and Type Method Description protected Vec4HighResolutionTerrain. applyOffset(Vec4 point, double metersOffset)Applies a specified vertical offset to a surface point.protected static Vec4RectangularTessellator. applyOffset(Globe globe, Vec4 point, double metersOffset)OffsetspointbymetersOffsetmeters.Vec4RectangularTessellator.RenderInfo. getReferenceCenter()Vec4HighResolutionTerrain. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)Computes the Cartesian, model-coordinate point of a location on the terrain.Vec4HighResolutionTerrain. getSurfacePoint(Position position)Computes the Cartesian, model-coordinate point of a position on the terrain.protected Vec4HighResolutionTerrain. getSurfacePoint(HighResolutionTerrain.RectTile tile, Angle latitude, Angle longitude)Computes the Cartesian, model-coordinate point of a location within a terrain tile.protected Vec4HighResolutionTerrain. getSurfacePoint(HighResolutionTerrain.RectTile tile, Angle latitude, Angle longitude, double metersOffset)Computes the Cartesian, model-coordinate point of a location within a terrain tile.protected Vec4RectangularTessellator. getSurfacePoint(RectangularTessellator.RectTile tile, Angle latitude, Angle longitude)protected Vec4RectangularTessellator. getSurfacePoint(RectangularTessellator.RectTile tile, Angle latitude, Angle longitude, double metersOffset)Vec4RectangularTessellator.RectTile. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)Vec4SectorGeometry. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)Computes the Cartesian coordinates of a location on the geometry's surface.Vec4SectorGeometryList. getSurfacePoint(Angle latitude, Angle longitude)Computes a Cartesian point at a specified location on the terrain.Vec4SectorGeometryList. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.Vec4SectorGeometryList. getSurfacePoint(LatLon latLon)Computes a Cartesian point at a specified location on the terrain.Vec4SectorGeometryList. getSurfacePoint(Position position)Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.Vec4Terrain. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)Computes the Cartesian, model-coordinate point of a location on the terrain.Vec4Terrain. getSurfacePoint(Position position)Computes the Cartesian, model-coordinate point of a position on the terrain.protected static Vec4HighResolutionTerrain. interpolate(int row, int column, double xDec, double yDec, HighResolutionTerrain.RenderInfo ri)protected static Vec4HighResolutionTerrain. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)protected static Vec4RectangularTessellator. interpolate(int row, int column, double xDec, double yDec, RectangularTessellator.RenderInfo ri)Calculates aPointthat sits atxDecoffset fromcolumntocolumn + 1and atyDecoffset fromrowtorow + 1.protected static Vec4RectangularTessellator. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)Calculates the point at (xDec, yDec) in the two triangles defined by {bL, bR, tL} and {bR, tR, tL}.Methods in gov.nasa.worldwind.terrain with parameters of type Vec4 Modifier and Type Method Description protected Vec4HighResolutionTerrain. applyOffset(Vec4 point, double metersOffset)Applies a specified vertical offset to a surface point.protected static Vec4RectangularTessellator. applyOffset(Globe globe, Vec4 point, double metersOffset)OffsetspointbymetersOffsetmeters.protected static double[]RectangularTessellator. baryCentricCoordsRequireInside(Vec4 pnt, Vec4[] V)protected static doubleRectangularTessellator. distanceFromLine(Vec4 pnt, Vec4 P, Vec4 u)protected static Vec4HighResolutionTerrain. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)protected static Vec4RectangularTessellator. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)Calculates the point at (xDec, yDec) in the two triangles defined by {bL, bR, tL} and {bR, tR, tL}.protected java.util.List<Vec4[]>HighResolutionTerrain. intersect(HighResolutionTerrain.RectTile tile, Vec4[] triangle)Computes the intersection of a triangle with a terrain tile.voidHighResolutionTerrain. intersectTriangle(Vec4[] triangleCoordinates, Position[] trianglePositions, java.util.List<Position[]> intersectPositionsOut)Intersects a specified triangle with the terrain.Constructors in gov.nasa.worldwind.terrain with parameters of type Vec4 Constructor Description RenderInfo(int density, float[] vertices, Vec4 refCenter, Position minElev, Position maxElev)RenderInfo(DrawContext dc, int density, java.nio.FloatBuffer vertices, Vec4 refCenter) -
Uses of Vec4 in gov.nasa.worldwind.util
Fields in gov.nasa.worldwind.util declared as Vec4 Modifier and Type Field Description protected static Vec4OGLUtil. DEFAULT_LIGHT_DIRECTIONprotected Vec4BasicDragger. dragRefObjectPointMethods in gov.nasa.worldwind.util that return Vec4 Modifier and Type Method Description static Vec4WWMath. computeArrayNormal(Vec4[] coords)Computes a unit-length normal vector for an array of coordinates.static Vec4WWMath. computeBufferNormal(java.nio.FloatBuffer coords, int stride)Computes a unit-length normal vector for a buffer of coordinate triples.protected Vec4ShapeEditor. computeControlPointDelta(LatLon previousLocation, LatLon currentLocation)Computes the Cartesian difference between two control points.static Vec4[]WWMath. computePrincipalAxes(BufferWrapper coordinates, int stride)Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified buffer of points, sorted from the most prominent axis to the least prominent.static Vec4[]WWMath. computePrincipalAxes(java.lang.Iterable<? extends Vec4> points)Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified points Iterable, sorted from the most prominent axis to the least prominent.static Vec4WWMath. computeTriangleNormal(Vec4 a, Vec4 b, Vec4 c)Returns the normal vector corresponding to the triangle defined by three vertices (a, b, c).static Vec4[]WWMath. findThreeIndependentVertices(Vec4[] coords)Finds three non-colinear points in an array of points.static Vec4[]WWMath. findThreeIndependentVertices(java.nio.FloatBuffer coords, int stride)Finds three non-colinear points in a buffer.static Vec4WWMath. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double distance, double elevation, Globe globe, Vec4 previousOffset)Compute points on either side of a line segment.Vec4VecBuffer.VectorAccessor. getElement(int position)Vec4VecBuffer. getVector(int position)Returns the vector element at the specified position, as aVec4.static Vec4RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)Compute the intersectionVec4point of the globe terrain with a line segment defined between two points.static Vec4RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2, double sampleLength, double precision)Compute the intersectionVec4point of the globe terrain with the a segment defined between two points.protected Vec4ShapeEditor. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)Computes the point on a specified line segment that is nearest a specified point.Methods in gov.nasa.worldwind.util that return types with arguments of type Vec4 Modifier and Type Method Description java.lang.Iterable<? extends Vec4>CompoundVecBuffer. getReverseVectors()Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<Vec4>VecBuffer. getReverseVectors()Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<? extends Vec4>CompoundVecBuffer. getVectors()Returns an iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<Vec4>VecBuffer. getVectors()Returns an iterator over this buffer's logical vectors, as Vec4 references.java.util.Iterator<Vec4>CompoundVecBuffer.VectorIterable. iterator(int index)java.util.Iterator<Vec4>CompoundVecBuffer.VectorIterable. reverseIterator(int index)Methods in gov.nasa.worldwind.util with parameters of type Vec4 Modifier and Type Method Description static voidOGLUtil. applyLightingDirectionalFromViewer(com.jogamp.opengl.GL2 gl, int light, Vec4 direction)Sets the GL lighting state to a white light originating from the eye position and pointed in the specified direction, in model coordinates.voidGLUTessellatorSupport. beginTessellation(com.jogamp.opengl.glu.GLUtessellatorCallback callback, Vec4 normal)Prepares this GLUTessellatorSupport's internal GLU tessellator for use.static Vec4WWMath. computeArrayNormal(Vec4[] coords)Computes a unit-length normal vector for an array of coordinates.static booleanWWMath. computeCircleThroughPoints(Vec4 p0, Vec4 p1, Vec4 p2, Vec4[] centerOut, Vec4[] axisOut, double[] radiusOut)Computes the center, axis, and radius of the circle that circumscribes the specified points.floatGeometryBuilder. computePolygonArea2(int pos, int count, Vec4[] points)intGeometryBuilder. computePolygonWindingOrder2(int pos, int count, Vec4[] points)static doubleWWMath. computeSphereProjectedArea(View view, Vec4 center, double radius)Computes the area in square pixels of a sphere after it is projected into the specifiedview'sviewport.static Vec4WWMath. computeTriangleNormal(Vec4 a, Vec4 b, Vec4 c)Returns the normal vector corresponding to the triangle defined by three vertices (a, b, c).booleanPickPointFrustumList. containsInAll(Vec4 point)Returns true if the specified point is inside the space enclosed by ALL of the frustumsbooleanPickPointFrustumList. containsInAny(Vec4 point)Returns true if the specified point is inside the space enclosed by ANY of the frustumsstatic java.nio.FloatBufferWWBufferUtil. copyArrayToBuffer(Vec4[] array, java.nio.FloatBuffer buffer)Copies a specified array of vertices to a specified vertex buffer.protected voidPlacemarkClutterFilter.DeclutteredLabel. drawDeclutterLabel(DrawContext dc, java.awt.Font font, Vec4 textPoint, java.lang.String labelText)protected voidPlacemarkClutterFilter.DeclutteredLabel. drawDeclutterLine(DrawContext dc, Vec4 startPoint, Vec4 endPoint)static Vec4[]WWMath. findThreeIndependentVertices(Vec4[] coords)Finds three non-colinear points in an array of points.static Vec4WWMath. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double distance, double elevation, Globe globe, Vec4 previousOffset)Compute points on either side of a line segment.static PositionRayCastingSupport. intersectRayWithTerrain(Globe globe, Vec4 origin, Vec4 direction)Compute the intersectionPositionof the globe terrain with the ray starting at origin in the given direction.static PositionRayCastingSupport. intersectRayWithTerrain(Globe globe, Vec4 origin, Vec4 direction, double sampleLength, double precision)Compute the intersectionPositionof the globe terrain with the ray starting at origin in the given direction.booleanPickPointFrustumList. intersectsAny(Vec4 pa, Vec4 pb)Returns true if a specified line segment intersects the space enclosed by ANY of the Frustums.static Vec4RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)Compute the intersectionVec4point of the globe terrain with a line segment defined between two points.static Vec4RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2, double sampleLength, double precision)Compute the intersectionVec4point of the globe terrain with the a segment defined between two points.voidGeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)voidGeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double minorRadius, double majorRadius, Angle heading, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)voidGeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double[] radii, Angle heading, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)voidGeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)voidGeometryBuilder. makeLongCylinderVertices(Terrain terrain, LatLon center1, LatLon center2, double radius, double[] altitudes, boolean[] terrainConformant, int arcSlices, int lengthSlices, int stacks, Vec4 refPoint, float[] dest)voidGeometryBuilder. 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)voidGeometryBuilder. makePartialCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, double start, double sweep, Vec4 refPoint, float[] dest)voidGeometryBuilder. 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)voidGeometryBuilder. makeRadialWallVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double angle, double[] altitudes, boolean[] terrainConformant, int pillars, int stacks, Vec4 refPoint, float[] dest)protected Vec4ShapeEditor. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)Computes the point on a specified line segment that is nearest a specified point.voidVecBuffer. putVector(int position, Vec4 vec)Sets the vector element at the specified position, as a Vec4.GeometryBuilder.IndexedTriangleArrayGeometryBuilder. tessellatePolygon(int pos, int count, float[] vertices, Vec4 normal)Method parameters in gov.nasa.worldwind.util with type arguments of type Vec4 Modifier and Type Method Description static doubleWWMath. computePolygonAreaFromVertices(java.lang.Iterable<? extends Vec4> points)Returns the area enclosed by the specified (x, y) points (the z and w coordinates are ignored).static Vec4[]WWMath. computePrincipalAxes(java.lang.Iterable<? extends Vec4> points)Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified points Iterable, sorted from the most prominent axis to the least prominent.static java.lang.StringWWMath. computeWindingOrderOfVertices(java.lang.Iterable<? extends Vec4> points)Returns the winding order of the 2D polygon described by the specified (x, y) points (z and w coordinates are ignored), with respect to the positive z axis.static booleanWWMath. isPolygonClosed2(java.lang.Iterable<? extends Vec4> points)Returns whether the 2D polygon described by the specified (x, y) points defines a closed loop (z and w coordinates are ignored).voidVecBuffer. putVectors(int position, java.lang.Iterable<? extends Vec4> iterable)Sets a subsequence of this buffer with the contents of the specified Iterable. -
Uses of Vec4 in gov.nasa.worldwind.view
Fields in gov.nasa.worldwind.view declared as Vec4 Modifier and Type Field Description protected Vec4BasicView. lastEyePointprotected Vec4BasicView. lastForwardVectorprotected Vec4BasicView. lastUpVectorMethods in gov.nasa.worldwind.view that return Vec4 Modifier and Type Method Description Vec4BasicView. getCenterPoint()Vec4BasicView. getCurrentEyePoint()Vec4BasicView. getCurrentForwardVector()Returns the most up-to-date forward vector.Vec4BasicView. getEyePoint()Vec4BasicView. getForwardVector()Vec4BasicView. getUpVector()static Vec4ViewUtil. getUpVector(Globe globe, Vec4 lookAtPoint)Vec4BasicView. project(Vec4 modelPoint)Vec4BasicView. project(Vec4 point, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms the specified object coordinates into window coordinates using the given modelview and projection matrices, and viewport.static Vec4ViewUtil. project(Vec4 modelPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in model coordinates to a point in screen coordinates.Vec4BasicView. unProject(Vec4 windowPoint)Vec4BasicView. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Maps the given window coordinates into model coordinates using the given matrices and viewport.static Vec4ViewUtil. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in screen coordinates to a point in model coordinates.Methods in gov.nasa.worldwind.view with parameters of type Vec4 Modifier and Type Method Description static ViewUtil.ViewStateViewUtil. computeModelCoordinates(Globe globe, Matrix modelTransform, Vec4 centerPoint, Vec4 eyePoint)static MatrixViewUtil. computeModelViewMatrix(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)static ViewUtil.ViewStateViewUtil. computeViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)static Vec4ViewUtil. getUpVector(Globe globe, Vec4 lookAtPoint)Vec4BasicView. project(Vec4 modelPoint)Vec4BasicView. project(Vec4 point, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms the specified object coordinates into window coordinates using the given modelview and projection matrices, and viewport.static Vec4ViewUtil. project(Vec4 modelPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in model coordinates to a point in screen coordinates.MatrixBasicView. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)MatrixBasicView. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)Vec4BasicView. unProject(Vec4 windowPoint)Vec4BasicView. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Maps the given window coordinates into model coordinates using the given matrices and viewport.static Vec4ViewUtil. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in screen coordinates to a point in model coordinates. -
Uses of Vec4 in gov.nasa.worldwind.view.orbit
Fields in gov.nasa.worldwind.view.orbit declared as Vec4 Modifier and Type Field Description protected Vec4OrbitViewEyePointAnimator. eyePointMethods in gov.nasa.worldwind.view.orbit that return Vec4 Modifier and Type Method Description Vec4BasicOrbitView. getCenterPoint()Vec4BasicOrbitView. getCurrentEyePoint()Methods in gov.nasa.worldwind.view.orbit with parameters of type Vec4 Modifier and Type Method Description protected doubleFlatOrbitView. computeHorizonDistance(Vec4 eyePoint)Deprecated.static OrbitViewInputSupport.OrbitViewStateOrbitViewInputSupport. computeOrbitViewState(Globe globe, Matrix modelTransform, Vec4 centerPoint)static OrbitViewInputSupport.OrbitViewStateOrbitViewInputSupport. computeOrbitViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)voidOrbitViewEyePointAnimator. setEyePoint(Vec4 eyePoint)static voidOrbitViewEyePointAnimator. setEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)protected voidOrbitViewInputHandler. setEyePoint(Vec4 eyePoint, ViewInputAttributes.ActionAttributes attrib)Constructors in gov.nasa.worldwind.view.orbit with parameters of type Vec4 Constructor Description OrbitViewEyePointAnimator(Globe globe, BasicOrbitView view, Vec4 eyePoint, double smoothing) -
Uses of Vec4 in gov.nasa.worldwindx.applications.antenna
Methods in gov.nasa.worldwindx.applications.antenna that return Vec4 Modifier and Type Method Description protected Vec4AntennaModel. getVec(AntennaModel.ShapeData shapeData, int i, int j)Methods in gov.nasa.worldwindx.applications.antenna with parameters of type Vec4 Modifier and Type Method Description protected voidAntennaAxes. drawLabel(TextRenderer textRenderer, java.lang.String text, Vec4 screenPoint, java.awt.Color textColor, java.awt.Color bgColor)protected voidAntennaModel. putVec(int i, int j, Vec4 vec, java.nio.FloatBuffer buffer) -
Uses of Vec4 in gov.nasa.worldwindx.applications.sar
Methods in gov.nasa.worldwindx.applications.sar with parameters of type Vec4 Modifier and Type Method Description doubleSARSegmentPlane. getObjectSize(java.lang.String key, Vec4 point) -
Uses of Vec4 in gov.nasa.worldwindx.applications.sar.render
Methods in gov.nasa.worldwindx.applications.sar.render that return Vec4 Modifier and Type Method Description protected Vec4TrackSegmentInfo. getScreenPoint(DrawContext dc, Position position) -
Uses of Vec4 in gov.nasa.worldwindx.applications.sar.segmentplane
Fields in gov.nasa.worldwindx.applications.sar.segmentplane declared as Vec4 Modifier and Type Field Description protected Vec4SegmentPlaneRenderer.RenderInfo. planeReferenceCenterMethods in gov.nasa.worldwindx.applications.sar.segmentplane that return Vec4 Modifier and Type Method Description protected Vec4SegmentPlaneRenderer. computeNearestGridLineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)protected Vec4SegmentPlaneRenderer. computeNearestLineToPoint(Vec4 point, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)protected Vec4SegmentPlaneRenderer. computeNearestOutlineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)Vec4SegmentPlaneAttributes.GeometryAttributes. getOffset()Vec4SegmentPlaneAttributes.LabelAttributes. getOffset()Vec4SegmentPlaneRenderer.OrderedText. getScreenPoint(DrawContext dc)protected Vec4SegmentPlaneRenderer.OrderedText. getScreenPoint(DrawContext dc, Position position)protected static Vec4SegmentPlaneRenderer. getVertex3(int position, java.nio.DoubleBuffer vertices)Vec4SegmentPlaneRenderer. intersect(Globe globe, Line ray, SegmentPlane segmentPlane)protected Vec4SegmentPlaneRenderer. intersectRayWithFill(Line ray, SegmentPlaneRenderer.RenderInfo renderInfo)protected Vec4SegmentPlaneRenderer. intersectRayWithTriangleStrip(Line ray, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)Methods in gov.nasa.worldwindx.applications.sar.segmentplane with parameters of type Vec4 Modifier and Type Method Description protected Vec4SegmentPlaneRenderer. computeNearestGridLineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)protected Vec4SegmentPlaneRenderer. computeNearestLineToPoint(Vec4 point, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)protected Vec4SegmentPlaneRenderer. computeNearestOutlineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)doubleSegmentPlaneRenderer. computeObjectSize(View view, Globe globe, SegmentPlane segmentPlane, java.lang.Object key, Vec4 point)protected doubleSegmentPlaneRenderer. computeObjectSize(View view, Globe globe, SegmentPlane segmentPlane, java.lang.Object key, Vec4 point, boolean usePickSize)protected voidSegmentPlaneRenderer. computePlaneVertices(Globe globe, SegmentPlane segmentPlane, int uStacks, int vStacks, double uStep, double vStep, Vec4 referenceCenter, java.nio.DoubleBuffer buffer)protected doubleSegmentPlaneRenderer. computeSizeForPixels(View view, Vec4 point, double pixels, double minSize, double maxSize)protected voidSegmentPlaneRenderer.OrderedText. drawText(java.lang.String text, Vec4 screenPoint, SegmentPlaneAttributes.LabelAttributes attributes, MultiLineTextRenderer mltr)protected Vec4SegmentPlaneRenderer. intersectRayWithTriangleStrip(Line ray, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)protected static voidSegmentPlaneRenderer. putVertex3(Vec4 vec, int position, java.nio.DoubleBuffer vertices)voidSegmentPlaneAttributes.GeometryAttributes. setOffset(Vec4 vec4)voidSegmentPlaneAttributes.LabelAttributes. setOffset(Vec4 vec4) -
Uses of Vec4 in gov.nasa.worldwindx.applications.worldwindow.util.measuretool
Methods in gov.nasa.worldwindx.applications.worldwindow.util.measuretool that return Vec4 Modifier and Type Method Description protected Vec4WWOMeasureDisplay. computeAnnotationPosition(Position pos, WWOMeasureTool mt) -
Uses of Vec4 in gov.nasa.worldwindx.examples
Fields in gov.nasa.worldwindx.examples declared as Vec4 Modifier and Type Field Description protected Vec4RadarVolume.ShapeData. centerPointprotected Vec4TerrainIntersections.AppFrame. referencePointMethods in gov.nasa.worldwindx.examples that return Vec4 Modifier and Type Method Description Vec4[]KeepingObjectsInView.ViewController. computeViewLookAtForScene(View view)protected Vec4AirspaceBuilder.AirspaceBuilderController. getPoint(LatLon latlon, double elevation)protected Vec4AirspaceBuilder.AirspaceBuilderController. getSurfacePoint(LatLon latlon, double elevation)Methods in gov.nasa.worldwindx.examples with parameters of type Vec4 Modifier and Type Method Description PositionKeepingObjectsInView.ViewController. computePositionFromPoint(Vec4 point)protected booleanRadarVolumeExample.AppFrame. isBelowMinimumElevation(Position position, Vec4 cartesianOrigin) -
Uses of Vec4 in gov.nasa.worldwindx.examples.analytics
Fields in gov.nasa.worldwindx.examples.analytics declared as Vec4 Modifier and Type Field Description protected Vec4AnalyticSurface. referencePointMethods in gov.nasa.worldwindx.examples.analytics that return Vec4 Modifier and Type Method Description protected Vec4AnalyticSurface. computeSurfacePoint(DrawContext dc, Angle lat, Angle lon, double value) -
Uses of Vec4 in gov.nasa.worldwindx.examples.kml
Fields in gov.nasa.worldwindx.examples.kml declared as Vec4 Modifier and Type Field Description protected Vec4KMLOrbitViewController.EyePositionAnimator. forwardMethods in gov.nasa.worldwindx.examples.kml with parameters of type Vec4 Modifier and Type Method Description protected PositionKMLOrbitViewController. computeCenterPosition(Position eyePosition, Vec4 forward, Angle pitch, int altitudeMode)Compute a center position from an eye position and an orientation.Constructors in gov.nasa.worldwindx.examples.kml with parameters of type Vec4 Constructor Description EyePositionAnimator(Interpolator interpolator, Position beginCenter, Position endCenter, Position endEyePosition, Vec4 forward, Angle pitch, PropertyAccessor.PositionAccessor propertyAccessor, int altitudeMode)Create a new animator. -
Uses of Vec4 in gov.nasa.worldwindx.examples.lineofsight
Fields in gov.nasa.worldwindx.examples.lineofsight declared as Vec4 Modifier and Type Field Description protected Vec4LineIntersector. referencePointprotected Vec4LinesOfSight.AppFrame. referencePointMethods in gov.nasa.worldwindx.examples.lineofsight that return Vec4 Modifier and Type Method Description protected Vec4PointGrid. computePoint(DrawContext dc, Position pos) -
Uses of Vec4 in gov.nasa.worldwindx.examples.shapebuilder
Fields in gov.nasa.worldwindx.examples.shapebuilder declared as Vec4 Modifier and Type Field Description protected Vec4ExtrudedPolygonEditor.ControlPointMarker. pointprotected Vec4RigidShapeEditor.ControlPointMarker. pointMethods in gov.nasa.worldwindx.examples.shapebuilder that return Vec4 Modifier and Type Method Description protected Vec4ExtrudedPolygonEditor. computeAnnotationPosition(Position pos)protected Vec4RigidShapeEditor. computeAnnotationPosition(Position pos)Vec4ExtrudedPolygonEditor.ControlPointMarker. getPoint()Vec4RigidShapeEditor.ControlPointMarker. getPoint()protected Vec4ExtrudedPolygonEditor. intersectPolygonAltitudeAt(Line ray)Determine the point at which a ray intersects a the globe at the elevation of the polygon.protected Vec4RigidShapeEditor. intersectPolygonAltitudeAt(Line ray)Determine the point at which a ray intersects a the globe at the elevation of the polygon.Constructors in gov.nasa.worldwindx.examples.shapebuilder with parameters of type Vec4 Constructor Description ControlPointMarker(java.lang.String type, Position position, Vec4 point, MarkerAttributes attrs, int index)ControlPointMarker(java.lang.String type, Position position, Vec4 point, MarkerAttributes attrs, int index) -
Uses of Vec4 in gov.nasa.worldwindx.examples.tutorial
Fields in gov.nasa.worldwindx.examples.tutorial declared as Vec4 Modifier and Type Field Description protected Vec4Cube.OrderedCube. placePointCartesian position of the cube, computed fromCube.position. -
Uses of Vec4 in gov.nasa.worldwindx.examples.util
Fields in gov.nasa.worldwindx.examples.util declared as Vec4 Modifier and Type Field Description protected Vec4ExtentVisibilitySupport.ScreenExtent. modelReferencePointMethods in gov.nasa.worldwindx.examples.util that return Vec4 Modifier and Type Method Description protected Vec4ExtentVisibilitySupport. computeCenterPoint(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePoint(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForModelExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends Extent> modelExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenBounds(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenReferencePoints(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4LabeledPath. computePoint(DrawContext dc, LatLon location)Computes a model-coordinate point from a LatLon or Position, applying the path's altitude mode.Vec4[]ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, Vec4 eyePoint, Vec4 centerPoint, Vec4 upVector, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.Vec4[]ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, View view)Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.protected Vec4LabeledPath. getLabelPoint(DrawContext dc)Returns the label's model-coordinate point form the path's location iterable, applying the path's altitude mode.Vec4LayerManagerLayer. getLocationCenter()Returns the current layer manager location.Vec4LayerManagerLayer. getLocationOffset()Returns the current location offset.Vec4ExtentVisibilitySupport.ScreenExtent. getModelReferencePoint()Returns the model coordinate reference point.protected static Vec4ViewVolumeRenderer. worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)Methods in gov.nasa.worldwindx.examples.util with parameters of type Vec4 Modifier and Type Method Description protected voidDirectedPath. computeArrowheadGeometry(DrawContext dc, int poleA, int poleB, Vec4 polePtA, Vec4 polePtB, java.nio.FloatBuffer buffer, Path.PathData pathData)Compute the geometry of a direction arrow between two points.protected Vec4ExtentVisibilitySupport. computeEyePoint(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForModelExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends Extent> modelExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenBounds(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)protected Vec4ExtentVisibilitySupport. computeEyePointForScreenReferencePoints(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)Vec4[]ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, Vec4 eyePoint, Vec4 centerPoint, Vec4 upVector, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.protected static voidViewVolumeRenderer. drawLine(DrawContext dc, Vec4 a, Vec4 b)protected static voidViewVolumeRenderer. drawQuad(DrawContext dc, Vec4 ll, Vec4 lr, Vec4 ur, Vec4 ul)protected static voidViewVolumeRenderer. drawTriangle(DrawContext dc, Vec4 a, Vec4 b, Vec4 c)protected booleanDirectedPath. isArrowheadSmall(DrawContext dc, Vec4 arrowPt, int numPixels)Determines if an direction arrow drawn a point will be less than a specified number of pixels.protected voidLabeledPath. setLabelLocation(DrawContext dc, Vec4 screenPoint)Places the label at the specified screen point.voidLayerManagerLayer. setLocationCenter(Vec4 locationCenter)Specifies the screen location of the layer manager, relative to it's frame center.voidLayerManagerLayer. setLocationOffset(Vec4 locationOffset)Specifies a placement offset from the layer manager frame position on the screen.protected java.lang.StringExtentVisibilitySupport. validate(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)protected static Vec4ViewVolumeRenderer. worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)Constructors in gov.nasa.worldwindx.examples.util with parameters of type Vec4 Constructor Description ScreenExtent(Vec4 modelReferencePoint, java.awt.Rectangle screenBounds)Constructs a new ScreenExtent with the specified model coordinate reference point and screen coordinate bounding box.
-