Modifier and Type | Method and Description |
---|---|
Vec4 |
View.getCenterPoint()
Gets the center point of the view.
|
Vec4 |
View.getCurrentEyePoint()
Returns the most up-to-date location of the eye in cartesian coordinates.
|
Vec4 |
View.getEyePoint()
Returns the location of the eye in cartesian coordinates.
|
Vec4 |
View.getForwardVector()
Returns the forward axis in cartesian coordinates.
|
Vec4 |
View.getUpVector()
Returns the up axis in cartesian coordinates.
|
Vec4 |
View.project(Vec4 modelPoint)
Maps a
Point in model (cartesian) coordinates to a Point in screen coordinates. |
Vec4 |
View.unProject(Vec4 windowPoint)
Maps a
Point in screen coordinates to a Point in model coordinates. |
Modifier and Type | Method and Description |
---|---|
Vec4 |
View.project(Vec4 modelPoint)
Maps a
Point in model (cartesian) coordinates to a Point in screen coordinates. |
Matrix |
View.pushReferenceCenter(DrawContext dc,
Vec4 referenceCenter)
Defines and applies a new model-view matrix in which the world origin is located at
referenceCenter . |
Matrix |
View.setReferenceCenter(DrawContext dc,
Vec4 referenceCenter)
Sets the reference center matrix without pushing the stack.
|
Vec4 |
View.unProject(Vec4 windowPoint)
Maps a
Point in screen coordinates to a Point in model coordinates. |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
AbstractViewInputHandler.computeSelectedPointAt(Point point) |
Modifier and Type | Method and Description |
---|---|
double |
AbstractViewInputHandler.computeDragSlope(Point point1,
Point point2,
Vec4 vec1,
Vec4 vec2) |
double |
ViewInputHandler.computeDragSlope(Point point1,
Point point2,
Vec4 vec1,
Vec4 vec2)
Compute the drag slope the given screen and world coordinates.
|
protected LatLon |
AbstractViewInputHandler.getChangeInLocation(Point point1,
Point point2,
Vec4 vec1,
Vec4 vec2) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
DraggableSupport.initialEllipsoidalReferencePoint
Initial drag operation cartesian coordinates of the objects reference position.
|
protected Vec4 |
DraggableSupport.initialEllipsoidalScreenPoint
Initial drag operation cartesian coordinates of the initial screen point.
|
protected Vec4 |
DraggableSupport.initialScreenPointOffset
Initial drag operation offset in x and y screen coordinates, between the object reference position and the screen
point.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
DraggableSupport.computeEllipsoidalPointFromScreen(DragContext dragContext,
Point screenPoint,
double altitude,
boolean utilizeSearchMethod)
Determines the cartesian coordinate of a screen point given the altitude mode.
|
protected Vec4 |
DraggableSupport.computeGlobeIntersection(Line ray,
double altitude,
boolean useSearchMethod,
Globe globe,
SceneController sceneController)
|
protected Vec4 |
DraggableSupport.computeRelativePoint(Line ray,
Globe globe,
SceneController sceneController,
double altitude)
Attempts to find a position with the altitude specified for objects which are
WorldWind.RELATIVE_TO_GROUND . |
protected Vec4 |
DraggableSupport.computeScreenOffsetFromReferencePosition(Position dragObjectReferencePosition,
DragContext dragContext)
Determines the offset in screen coordinates from the previous screen point (
DragContext.getInitialPoint()
and the objects Movable.getReferencePosition() or Movable2.getReferencePosition() methods. |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
Cylinder.axisUnitDirection |
Vec4 |
Box.bottomCenter |
protected Vec4 |
Cylinder.bottomCenter |
protected Vec4 |
Sphere.center |
protected Vec4 |
Box.center |
Vec4 |
Frustum.Corners.fbl |
Vec4 |
Frustum.Corners.fbr |
Vec4 |
Frustum.Corners.ftl |
Vec4 |
Frustum.Corners.ftr |
static Vec4 |
Vec4.INFINITY |
protected Vec4 |
Intersection.intersectionPoint |
Vec4 |
Frustum.Corners.nbl |
Vec4 |
Frustum.Corners.nbr |
Vec4 |
Frustum.Corners.ntl |
Vec4 |
Frustum.Corners.ntr |
static Vec4 |
Vec4.ONE |
Vec4 |
Triangle.TriangleIntersection.p0 |
protected Vec4 |
BarycentricTriangle.p00 |
protected Vec4 |
BarycentricTriangle.p01 |
Vec4 |
Triangle.TriangleIntersection.p1 |
protected Vec4 |
BarycentricTriangle.p10 |
protected Vec4 |
BarycentricQuadrilateral.p11 |
protected Vec4 |
BarycentricTriangle.q1 |
protected Vec4 |
BarycentricTriangle.q3 |
protected Vec4 |
Box.r |
protected Vec4 |
Box.ru |
protected Vec4 |
Box.s |
protected Vec4 |
Box.su |
protected Vec4 |
Box.t |
Vec4 |
Box.topCenter |
protected Vec4 |
Cylinder.topCenter |
protected Vec4 |
Box.tu |
static Vec4 |
Vec4.UNIT_NEGATIVE_W |
static Vec4 |
Vec4.UNIT_NEGATIVE_X |
static Vec4 |
Vec4.UNIT_NEGATIVE_Y |
static Vec4 |
Vec4.UNIT_NEGATIVE_Z |
static Vec4 |
Vec4.UNIT_W |
static Vec4 |
Vec4.UNIT_X |
static Vec4 |
Vec4.UNIT_Y |
static Vec4 |
Vec4.UNIT_Z |
static Vec4 |
Vec4.ZERO |
Modifier and Type | Method and Description |
---|---|
Vec4 |
Vec4.add3(double x,
double y,
double z) |
Vec4 |
Vec4.add3(Vec4 vec4) |
static Vec4 |
Vec4.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 Vec4 |
Vec4.computeAveragePoint(Iterable<? extends Vec4> points)
Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.
|
static Vec4 |
Vec4.computeAveragePoint3(BufferWrapper coordinates,
int stride)
Returns the arithmetic mean of the x, y, z coordinates of the specified points buffer.
|
Vec4 |
Sector.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(BufferWrapper buffer) |
static Vec4[] |
Vec4.computeExtrema(Vec4[] points)
Calculate the extrema of a given array of
Vec4 s. |
Vec4 |
Vec4.cross3(Vec4 vec4) |
Vec4 |
Vec4.divide3(double value) |
Vec4 |
Vec4.divide3(Vec4 vec4) |
Vec4 |
Matrix.extractEyePoint()
Extracts this viewing matrix's eye point.
|
Vec4 |
Matrix.extractForwardVector()
Extracts this viewing matrix's forward vector.
|
static Vec4 |
Vec4.fromArray2(double[] array,
int offset)
Constructs a new Vec4 with
x and y values from the specified double array. |
static Vec4 |
Vec4.fromArray3(double[] array,
int offset)
Constructs a new Vec4 with
x , y and z values from the specified double
array. |
static Vec4 |
Vec4.fromArray4(double[] array,
int offset)
Constructs a new Vec4 with
x , y , z and w values from the
specified double array. |
static Vec4 |
Vec4.fromDoubleArray(double[] array,
int offset,
int length)
Constructs a new Vec4 with coordinate values read from the specified double array.
|
static Vec4 |
Vec4.fromFloatArray(float[] array,
int offset,
int length)
Constructs a new Vec4 with coordinate values read from the specified float array.
|
static Vec4 |
Vec4.fromLine3(Vec4 origin,
double t,
Vec4 direction) |
Vec4 |
Triangle.getA()
Returns the first vertex.
|
Vec4 |
Vec4.getAbs3() |
Vec4 |
Quaternion.getAxis() |
Vec4 |
Cylinder.getAxisUnitDirection()
Returns the unit-length axis of this cylinder.
|
Vec4 |
Triangle.getB()
Returns the second vertex.
|
Vec4 |
Box.getBottomCenter()
Returns the point corresponding to the center of the box side left-most along the R (first) axis.
|
Vec4 |
Cylinder.getBottomCenter()
Returns the this cylinder's bottom-center point.
|
Vec4 |
Triangle.getC()
Returns the third vertex.
|
Vec4 |
Extent.getCenter()
Returns the extent's center point.
|
Vec4 |
Sphere.getCenter()
Obtains the center of this
Sphere . |
Vec4 |
Box.getCenter()
Returns the box's center point.
|
Vec4 |
Cylinder.getCenter()
Return this cylinder's center point.
|
Vec4[] |
Box.getCorners()
Returns the eight corners of the box.
|
Vec4[] |
BilinearInterpolator.getCorners() |
Vec4 |
Line.getDirection() |
Vec4 |
Intersection.getIntersectionPoint()
Returns the intersection point.
|
Vec4 |
Vec4.getNegative3() |
Vec4 |
Plane.getNormal()
Returns the plane's normal vector.
|
Vec4 |
Line.getOrigin() |
Vec4 |
BarycentricTriangle.getP00() |
Vec4 |
BarycentricTriangle.getP01() |
Vec4 |
BarycentricTriangle.getP10() |
Vec4 |
BarycentricQuadrilateral.getP11() |
Vec4 |
BarycentricPlanarShape.getPoint(double[] w) |
Vec4 |
BarycentricTriangle.getPoint(double[] w) |
Vec4 |
Line.getPointAt(double t) |
Vec4 |
Sphere.getPointOnSphere(LatLon location)
Computes a point on the sphere corresponding to a specified location.
|
Vec4 |
Box.getRAxis()
Returns the R (first) axis.
|
Vec4 |
Box.getSAxis()
Returns the S (second) axis.
|
Vec4 |
Box.getTAxis()
Returns the T (third) axis.
|
Vec4 |
Box.getTopCenter()
Returns the point corresponding to the center of the box side right-most along the R (first) axis.
|
Vec4 |
Cylinder.getTopCenter()
Returns the this cylinder's top-center point.
|
Vec4 |
Matrix.getTranslation() |
Vec4 |
Box.getUnitRAxis()
Returns the R (first) axis in unit length.
|
Vec4 |
Box.getUnitSAxis()
Returns the S (second) axis in unit length.
|
Vec4 |
Box.getUnitTAxis()
Returns the T (third) axis in unit length.
|
Vec4 |
Plane.getVector()
Returns a 4-D vector holding the plane's normal and distance.
|
Vec4 |
BilinearInterpolator.interpolateAsPoint(double u,
double v) |
Vec4 |
Triangle.intersect(Line line)
Determine the intersection of the triangle with a specified line.
|
Vec4 |
Plane.intersect(Line line)
Determine the intersection point of a line with this plane.
|
static Vec4 |
Plane.intersect(Plane pa,
Plane pb,
Plane pc)
Compute the intersection of three planes.
|
Vec4 |
Plane.intersect(Vec4 pa,
Vec4 pb)
Test a line segment for intersection with this plane.
|
static Vec4 |
Vec4.max3(Vec4 value1,
Vec4 value2) |
static Vec4 |
Vec4.min3(Vec4 value1,
Vec4 value2) |
static Vec4 |
Vec4.mix3(double amount,
Vec4 value1,
Vec4 value2) |
Vec4 |
Vec4.multiply3(double value) |
Vec4 |
Vec4.multiply3(Vec4 vec4) |
Vec4 |
Line.nearestIntersectionPoint(Intersection[] intersections) |
static Vec4 |
Line.nearestPointOnSegment(Vec4 p0,
Vec4 p1,
Vec4 p)
Finds the closest point to a third point of a segment defined by two points.
|
Vec4 |
Line.nearestPointTo(Vec4 p) |
Vec4 |
Vec4.normalize3() |
Vec4 |
Vec4.perpendicularTo3(Vec4 vec4) |
Vec4[] |
Vec4.perpendicularVectors()
Computes two vectors mutually perpendicular to this vector and each other.
|
Vec4 |
Vec4.projectOnto3(Vec4 vec4) |
Vec4 |
Vec4.subtract3(double x,
double y,
double z) |
Vec4 |
Vec4.subtract3(Vec4 vec4) |
Vec4 |
PolarPoint.toCartesian()
Obtains a cartesian point equivalent to this
PolarPoint , except in cartesian space. |
static Vec4 |
PolarPoint.toCartesian(Angle latitude,
Angle longitude,
double radius)
Obtains a cartesian point from a given latitude, longitude and distance from center.
|
Vec4 |
Vec4.toHomogeneousDirection3()
Returns a representation of this vector as an
x y z direction suitable for use where
four-dimensional homogeneous coordinates are required. |
Vec4 |
Vec4.toHomogeneousPoint3()
Returns a representation of this vector as an
x y z point suitable for use where four-dimensional
homogeneous coordinates are required. |
Vec4 |
Vec4.transformBy3(Matrix matrix) |
Vec4 |
Matrix.transformBy3(Matrix matrix,
double x,
double y,
double z) |
Vec4 |
Vec4.transformBy3(Quaternion quaternion) |
Vec4 |
Vec4.transformBy4(Matrix matrix) |
Modifier and Type | Method and Description |
---|---|
Vec4 |
Vec4.add3(Vec4 vec4) |
Angle |
Vec4.angleBetween3(Vec4 vec4) |
static boolean |
Vec4.areColinear(Vec4 a,
Vec4 b,
Vec4 c)
Indicates whether three vectors are colinear.
|
static Angle |
Vec4.axisAngle(Vec4 v1,
Vec4 v2,
Vec4[] result)
Compute the angle and rotation axis required to rotate one vector to align with another.
|
static Angle |
Vec4.axisAngle(Vec4 v1,
Vec4 v2,
Vec4[] result)
Compute the angle and rotation axis required to rotate one vector to align with another.
|
static Vec4 |
Vec4.clamp3(Vec4 vec4,
double min,
double max) |
Vec4[] |
Plane.clip(Vec4 pa,
Vec4 pb)
Clip a line segment to this plane.
|
protected boolean |
Cylinder.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.TriangleIntersection |
Triangle.compute_intervals_isectline(Vec4[] v,
double vv0,
double vv1,
double vv2,
double d0,
double d1,
double d2,
double d0d1,
double d0d2) |
static void |
Matrix.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 of
Vec4 s. |
boolean |
Triangle.contains(Vec4 p)
Indicates whether a specified point is on the triangle.
|
boolean |
Frustum.contains(Vec4 point)
Indicates whether a specified point is within this frustum.
|
boolean |
BarycentricQuadrilateral.contains(Vec4 p) |
boolean |
BarycentricTriangle.contains(Vec4 p) |
protected static boolean |
Triangle.coplanarTriangles(Vec4 n,
Vec4[] v,
Vec4[] u) |
protected static boolean |
Triangle.coplanarTriangles(Vec4 n,
Vec4[] v,
Vec4[] u) |
protected static boolean |
Triangle.coplanarTriangles(Vec4 n,
Vec4[] v,
Vec4[] u) |
static Sphere |
Sphere.createBoundingSphere(Vec4[] points)
Creates a sphere that completely contains a set of points.
|
Vec4 |
Vec4.cross3(Vec4 vec4) |
double |
Sector.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.
|
double |
Line.distanceTo(Vec4 p)
Calculate the shortests distance between this line and a specified
Vec4 . |
double |
Plane.distanceTo(Vec4 p) |
double |
Vec4.distanceTo2(Vec4 vec4) |
double |
Vec4.distanceTo3(Vec4 vec4) |
static double |
Line.distanceToSegment(Vec4 p0,
Vec4 p1,
Vec4 p) |
double |
Vec4.distanceToSquared3(Vec4 vec4) |
Vec4 |
Vec4.divide3(Vec4 vec4) |
double |
Plane.dot(Vec4 p)
Calculates the 4-D dot product of this plane with a vector.
|
double |
Vec4.dot3(Vec4 vec4) |
double |
Vec4.dot4(Vec4 vec4) |
protected void |
Box.drawBox(DrawContext dc,
Vec4 a,
Vec4 b,
Vec4 c,
Vec4 d) |
protected void |
Box.drawOutline(DrawContext dc,
Vec4 a,
Vec4 b,
Vec4 c,
Vec4 d) |
AVList |
Matrix.extractViewingParameters(Vec4 origin,
Angle roll,
Globe globe)
Extracts this viewing matrix's parameters given a viewing origin and a globe.
|
static Matrix |
Matrix.fromAxes(Vec4[] axes)
Returns a Cartesian transform
Matrix that maps a local orientation to model coordinates. |
static Matrix |
Matrix.fromAxisAngle(Angle angle,
Vec4 axis) |
static Quaternion |
Quaternion.fromAxisAngle(Angle angle,
Vec4 axis) |
static PolarPoint |
PolarPoint.fromCartesian(Vec4 cartesianPoint)
Obtains a
PolarPoint from a cartesian point. |
static Vec4 |
Vec4.fromLine3(Vec4 origin,
double t,
Vec4 direction) |
static Matrix |
Matrix.fromLocalOrientation(Vec4 origin,
Vec4[] axes)
Returns a Cartesian transform
Matrix that maps a local origin and orientation to model coordinates. |
static Matrix |
Matrix.fromLocalOrientation(Vec4 origin,
Vec4[] axes)
Returns a Cartesian transform
Matrix that maps a local origin and orientation to model coordinates. |
static Matrix |
Matrix.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 Frustum |
Frustum.fromPerspectiveVecs(Vec4 vTL,
Vec4 vTR,
Vec4 vBL,
Vec4 vBR,
double near,
double far)
Creates a
Frustum from four edge vectors, viewport aspect ratio and distance to near and far planes. |
static Plane |
Plane.fromPoints(Vec4 pa,
Vec4 pb,
Vec4 pc)
Returns the plane that passes through the specified three points.
|
static Matrix |
Matrix.fromScale(Vec4 scale) |
static Line |
Line.fromSegment(Vec4 pa,
Vec4 pb)
Create the line containing a line segement between two points.
|
static Matrix |
Matrix.fromTranslation(Vec4 translation) |
static Matrix |
Matrix.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 boolean |
Cylinder.intcyl(Vec4 raybase,
Vec4 raycos,
Vec4 base,
Vec4 axis,
double radius,
double[] tVals) |
static Intersection |
Triangle.intersect(Line line,
Vec4 a,
Vec4 b,
Vec4 c)
Determines the intersection of a specified line with a specified triangle.
|
Vec4 |
Plane.intersect(Vec4 pa,
Vec4 pb)
Test a line segment for intersection with this plane.
|
protected static Triangle.TriangleIntersection |
Triangle.intersect(Vec4 v0,
Vec4 v1,
Vec4 v2,
double vv0,
double vv1,
double vv2,
double d0,
double d1,
double d2) |
protected double |
Box.intersectsAt(Plane plane,
double effectiveRadius,
Vec4[] endpoints) |
protected double |
Cylinder.intersectsAt(Plane plane,
double effectiveRadius,
Vec4[] endpoints) |
boolean |
Frustum.intersectsSegment(Vec4 pa,
Vec4 pb)
Determines whether a line segment intersects this frustum.
|
static int |
Triangle.intersectTriangles(Vec4[] v,
Vec4[] u,
Vec4[] intersectionVertices)
Intersects two triangles and returns their intersection vertices.
|
static int |
Triangle.intersectTriangles(Vec4[] v,
Vec4[] u,
Vec4[] intersectionVertices)
Intersects two triangles and returns their intersection vertices.
|
static int |
Triangle.intersectTriangles(Vec4[] v,
Vec4[] u,
Vec4[] intersectionVertices)
Intersects two triangles and returns their intersection vertices.
|
static List<Intersection> |
Triangle.intersectTriFan(Line line,
Vec4[] vertices,
IntBuffer indices)
Compute the intersections of a line with a triangle fan.
|
static List<Intersection> |
Triangle.intersectTriStrip(Line line,
Vec4[] vertices,
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) |
boolean |
Line.isPointBehindLineOrigin(Vec4 point)
Determine if a point is behind the
Line 's origin. |
static Vec4 |
Vec4.max3(Vec4 value1,
Vec4 value2) |
static Vec4 |
Vec4.min3(Vec4 value1,
Vec4 value2) |
static Vec4 |
Vec4.mix3(double amount,
Vec4 value1,
Vec4 value2) |
Vec4 |
Vec4.multiply3(Vec4 vec4) |
static Vec4 |
Line.nearestPointOnSegment(Vec4 p0,
Vec4 p1,
Vec4 p)
Finds the closest point to a third point of a segment defined by two points.
|
Vec4 |
Line.nearestPointTo(Vec4 p) |
int |
Plane.onSameSide(Vec4[] pts)
Determines whether multiple points are on the same side of a plane.
|
int |
Plane.onSameSide(Vec4 pa,
Vec4 pb)
Determines whether two points are on the same side of a plane.
|
Vec4 |
Vec4.perpendicularTo3(Vec4 vec4) |
Vec4 |
Vec4.projectOnto3(Vec4 vec4) |
void |
Intersection.setIntersectionPoint(Vec4 intersectionPoint)
Specifies the intersection point.
|
static Queue<Intersection> |
Intersection.sort(Vec4 refPoint,
List<Intersection> listA,
List<Intersection> listB)
Merges two lists of intersections into a single list sorted by intersection distance from a specified reference
point.
|
Vec4 |
Vec4.subtract3(Vec4 vec4) |
Box |
Box.translate(Vec4 point) |
Modifier and Type | Method and Description |
---|---|
static Vec4 |
Vec4.computeAveragePoint(Iterable<? extends Vec4> points)
Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.
|
static Box |
Box.computeBoundingBox(Iterable<? extends Vec4> points)
Compute a
Box that bounds a specified list of points. |
static Cylinder |
Cylinder.computeBoundingCylinder(Iterable<? extends Vec4> points)
Compute a bounding cylinder for a collection of points.
|
static Matrix |
Matrix.fromCovarianceOfVertices(Iterable<? extends Vec4> points)
Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified points Iterable.
|
static double |
Vec4.getAverageDistance(Iterable<? extends Vec4> points) |
Constructor and 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,
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 new
Sphere from a given center and radius. |
Triangle(Vec4 a,
Vec4 b,
Vec4 c)
Construct a triangle from three counter-clockwise ordered vertices.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
FlatGlobe.offsetVector |
Modifier and Type | Method and Description |
---|---|
Vec4 |
EllipsoidalGlobe.computeEllipsoidalNormalAtLocation(Angle latitude,
Angle longitude)
Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian
coordinates.
|
Vec4 |
Globe.computeEllipsoidalNormalAtLocation(Angle latitude,
Angle longitude)
Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian
coordinates.
|
Vec4 |
EllipsoidalGlobe.computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.
|
Vec4 |
Globe.computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.
|
Vec4 |
EllipsoidalGlobe.computeEllipsoidalPointFromPosition(Angle latitude,
Angle longitude,
double metersElevation)
Computes a ellipsoidal point from a latitude, longitude, and elevation.
|
Vec4 |
Globe.computeEllipsoidalPointFromPosition(Angle latitude,
Angle longitude,
double metersElevation)
Computes a ellipsoidal point from a latitude, longitude, and elevation.
|
Vec4 |
EllipsoidalGlobe.computeEllipsoidalPointFromPosition(Position position)
Computes a ellipsoidal point from a latitude, longitude, and elevation.
|
Vec4 |
Globe.computeEllipsoidalPointFromPosition(Position position)
Computes a ellipsoidal point from a latitude, longitude, and elevation.
|
Vec4 |
EllipsoidalGlobe.computeNorthPointingTangentAtLocation(Angle latitude,
Angle longitude) |
Vec4 |
Globe.computeNorthPointingTangentAtLocation(Angle latitude,
Angle longitude)
Computes a vector tangent to this globe and pointing toward the north pole.
|
Vec4 |
FlatGlobe.computeNorthPointingTangentAtLocation(Angle latitude,
Angle longitude) |
Vec4 |
EllipsoidalGlobe.computePointFromLocation(LatLon location) |
Vec4 |
Globe.computePointFromLocation(LatLon location)
Computes a cartesian point from a geographic location on the surface of this globe.
|
Vec4 |
EllipsoidalGlobe.computePointFromPosition(Angle latitude,
Angle longitude,
double metersElevation) |
Vec4 |
Globe.computePointFromPosition(Angle latitude,
Angle longitude,
double metersElevation)
Computes a cartesian point from a latitude, longitude, and elevation.
|
Vec4 |
EllipsoidalGlobe.computePointFromPosition(LatLon latLon,
double metersElevation) |
Vec4 |
Globe.computePointFromPosition(LatLon latLon,
double metersElevation)
Computes a cartesian point from a geographic location and elevation.
|
Vec4 |
EllipsoidalGlobe.computePointFromPosition(Position position) |
Vec4 |
Globe.computePointFromPosition(Position position)
Computes a cartesian point from a geographic position.
|
Vec4 |
EllipsoidalGlobe.computeSurfaceNormalAtLocation(Angle latitude,
Angle longitude)
Returns the normal to the Globe at the specified position.
|
Vec4 |
Globe.computeSurfaceNormalAtLocation(Angle latitude,
Angle longitude)
Computes a vector perpendicular to the surface of this globe in cartesian coordinates.
|
Vec4 |
FlatGlobe.computeSurfaceNormalAtLocation(Angle latitude,
Angle longitude) |
Vec4 |
EllipsoidalGlobe.computeSurfaceNormalAtPoint(Vec4 point)
Returns the normal to the Globe at the specified cartiesian point.
|
Vec4 |
Globe.computeSurfaceNormalAtPoint(Vec4 point)
Computes a vector perpendicular to the surface of this globe, at a cartesian point.
|
Vec4 |
FlatGlobe.computeSurfaceNormalAtPoint(Vec4 point) |
protected Vec4 |
EllipsoidalGlobe.geodeticToCartesian(Angle latitude,
Angle longitude,
double metersElevation)
Maps a position to world Cartesian coordinates.
|
protected Vec4 |
FlatGlobe.geodeticToCartesian(Angle latitude,
Angle longitude,
double metersElevation)
Maps a position to a flat world Cartesian coordinates.
|
protected Vec4 |
EllipsoidalGlobe.geodeticToEllipsoidal(Angle latitude,
Angle longitude,
double metersElevation)
Maps a position to ellipsoidal coordinates.
|
Vec4 |
GeographicProjection.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset)
Converts a geographic position to meters in Cartesian coordinates.
|
Vec4 |
EllipsoidalGlobe.getCenter() |
Vec4 |
GeographicProjection.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.
|
Modifier and Type | Method and Description |
---|---|
protected Position |
EllipsoidalGlobe.cartesianToGeodetic(Vec4 cart)
Compute the geographic position to corresponds to a Cartesian point.
|
protected Position |
FlatGlobe.cartesianToGeodetic(Vec4 cart) |
Position |
GeographicProjection.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset)
Converts a Cartesian point in meters to a geographic position.
|
void |
EllipsoidalGlobe.computePointsFromPositions(Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4[] out)
Computes a grid of cartesian points corresponding to a grid of geographic positions.
|
void |
Globe.computePointsFromPositions(Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4[] out)
Computes a grid of cartesian points corresponding to a grid of geographic positions.
|
Position |
EllipsoidalGlobe.computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)
Computes the geographic position of a point in ellipsoidal coordinates.
|
Position |
Globe.computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)
Computes the geographic position of a point in ellipsoidal coordinates.
|
Position |
EllipsoidalGlobe.computePositionFromPoint(Vec4 point) |
Position |
Globe.computePositionFromPoint(Vec4 point)
Computes the geographic position of a point in cartesian coordinates.
|
Vec4 |
EllipsoidalGlobe.computeSurfaceNormalAtPoint(Vec4 point)
Returns the normal to the Globe at the specified cartiesian point.
|
Vec4 |
Globe.computeSurfaceNormalAtPoint(Vec4 point)
Computes a vector perpendicular to the surface of this globe, at a cartesian point.
|
Vec4 |
FlatGlobe.computeSurfaceNormalAtPoint(Vec4 point) |
protected Position |
EllipsoidalGlobe.ellipsoidalToGeodetic(Vec4 cart)
Compute the geographic position to corresponds to an ellipsoidal point.
|
protected void |
EllipsoidalGlobe.geodeticToCartesian(Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4[] out)
Maps a grid of geographic positions to Cartesian coordinates.
|
protected void |
FlatGlobe.geodeticToCartesian(Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4[] out) |
Vec4 |
GeographicProjection.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset)
Converts a geographic position to meters in Cartesian coordinates.
|
void |
GeographicProjection.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.
|
void |
GeographicProjection.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.
|
boolean |
EllipsoidalGlobe.isPointAboveElevation(Vec4 point,
double elevation)
Determines whether a point is above a given elevation
|
boolean |
Globe.isPointAboveElevation(Vec4 point,
double elevation)
Determines whether a point is above a given elevation.
|
boolean |
FlatGlobe.isPointAboveElevation(Vec4 point,
double elevation)
Determines whether a point is above a given elevation
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Vec4 |
ProjectionSinusoidal.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionModifiedSinusoidal.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionPolarEquidistant.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionUPS.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionTransverseMercator.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionEquirectangular.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionMercator.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionUPS.geographicToCartesianNGA(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionSinusoidal.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionModifiedSinusoidal.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionPolarEquidistant.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionUPS.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionTransverseMercator.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionEquirectangular.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Vec4 |
ProjectionMercator.northPointingTangent(Globe globe,
Angle latitude,
Angle longitude) |
Modifier and Type | Method and Description |
---|---|
Position |
ProjectionSinusoidal.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionModifiedSinusoidal.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionPolarEquidistant.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionUPS.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionTransverseMercator.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionEquirectangular.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionMercator.cartesianToGeographic(Globe globe,
Vec4 cart,
Vec4 offset) |
Position |
ProjectionUPS.cartesianToGeographicNGA(Globe globe,
Vec4 cart,
Vec4 offset) |
Vec4 |
ProjectionSinusoidal.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionModifiedSinusoidal.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionPolarEquidistant.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionUPS.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionTransverseMercator.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionEquirectangular.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Vec4 |
ProjectionMercator.geographicToCartesian(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
void |
ProjectionSinusoidal.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionSinusoidal.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionModifiedSinusoidal.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionModifiedSinusoidal.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionPolarEquidistant.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionPolarEquidistant.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionUPS.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionUPS.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionTransverseMercator.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionTransverseMercator.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionEquirectangular.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionEquirectangular.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionMercator.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
void |
ProjectionMercator.geographicToCartesian(Globe globe,
Sector sector,
int numLat,
int numLon,
double[] metersElevation,
Vec4 offset,
Vec4[] out) |
Vec4 |
ProjectionUPS.geographicToCartesianNGA(Globe globe,
Angle latitude,
Angle longitude,
double metersElevation,
Vec4 offset) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
AbstractGraticuleLayer.lastEyePoint |
protected Vec4 |
CompassLayer.locationCenter |
protected Vec4 |
ViewControlsLayer.locationCenter |
protected Vec4 |
ScalebarLayer.locationCenter |
protected Vec4 |
WorldMapLayer.locationCenter |
protected Vec4 |
CompassLayer.locationOffset |
protected Vec4 |
ViewControlsLayer.locationOffset |
protected Vec4 |
TerrainProfileLayer.locationOffset |
protected Vec4 |
ScalebarLayer.locationOffset |
protected Vec4 |
WorldMapLayer.locationOffset |
Modifier and Type | Method and Description |
---|---|
protected static Vec4 |
SkyGradientLayer.CartesianToSpherical(double x,
double y,
double z)
Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.
|
protected Vec4 |
CompassLayer.computeLocation(Rectangle viewport,
double scale) |
protected Vec4 |
TerrainProfileLayer.computeLocation(Rectangle viewport,
double scale) |
protected Vec4 |
WorldMapLayer.computeLocation(Rectangle viewport,
double scale) |
protected Vec4 |
TiledImageLayer.computeReferencePoint(DrawContext dc) |
protected Vec4 |
ViewControlsSelectListener.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.
|
Vec4 |
TextureTile.getCentroidPoint(Globe globe) |
Vec4 |
CompassLayer.getLocationCenter()
Returns the current compass image location.
|
Vec4 |
ViewControlsLayer.getLocationCenter()
Returns the current layer image location.
|
Vec4 |
CrosshairLayer.getLocationCenter()
Get the crosshair location inside the viewport.
|
Vec4 |
ScalebarLayer.getLocationCenter()
Returns the current scalebar center location.
|
Vec4 |
WorldMapLayer.getLocationCenter()
Returns the current worldmap image location.
|
Vec4 |
CompassLayer.getLocationOffset()
Returns the current location offset.
|
Vec4 |
ViewControlsLayer.getLocationOffset()
Returns the current location offset.
|
Vec4 |
TerrainProfileLayer.getLocationOffset()
Returns the current location offset.
|
Vec4 |
ScalebarLayer.getLocationOffset()
Returns the current location offset.
|
Vec4 |
WorldMapLayer.getLocationOffset()
Returns the current location offset.
|
protected Vec4 |
TiledImageLayer.getReferencePoint(DrawContext dc) |
protected Vec4 |
AbstractGraticuleLayer.getSurfacePoint(DrawContext dc,
Angle latitude,
Angle longitude) |
protected static Vec4 |
SkyGradientLayer.SphericalToCartesian(double latitude,
double longitude,
double radius)
Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.
|
Modifier and Type | Method and Description |
---|---|
protected Position |
TerrainProfileLayer.computePickPosition(DrawContext dc,
Vec4 locationSW,
Dimension mapSize)
Computes the Position of the pickPoint over the graph and updates pickedSample indice
|
protected Position |
WorldMapLayer.computePickPosition(DrawContext dc,
Vec4 locationSW,
Dimension mapSize)
Computes the lat/lon of the pickPoint over the world map
|
protected void |
TerrainProfileLayer.drawFilledRectangle(DrawContext dc,
Vec4 origin,
Dimension dimension,
Color color) |
protected void |
TerrainProfileLayer.drawLabel(DrawContext dc,
String text,
Vec4 screenPoint,
int align) |
void |
CompassLayer.setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the compass image, relative to the image's center.
|
void |
ViewControlsLayer.setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the layer, relative to the image's center.
|
void |
CrosshairLayer.setLocationCenter(Vec4 locationCenter)
Set the crosshair location inside the viewport.
|
void |
ScalebarLayer.setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the scalebar center.
|
void |
WorldMapLayer.setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the worldmap image, relative to the image's center.
|
void |
CompassLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the compass' position on the screen.
|
void |
ViewControlsLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer position on the screen.
|
void |
TerrainProfileLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer position on the screen.
|
void |
ScalebarLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the scalebar's position on the screen.
|
void |
WorldMapLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the worldmap's position on the screen.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
MercatorTiledImageLayer.getReferencePoint() |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
PlaceNameLayer.referencePoint |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
PlaceNameLayer.computeReferencePoint(DrawContext dc) |
protected Vec4 |
PlaceNameLayer.getReferencePoint() |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
ColladaRoot.modelScale
A scale to apply to the model.
|
Modifier and Type | Method and Description |
---|---|
Vec4 |
ColladaRoot.getModelScale()
Indicates this shape's scale, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
ColladaRoot.setModelScale(Vec4 modelScale)
Specifies this shape's scale.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
ColladaMeshShape.ShapeData.referenceCenter
Cached reference center for the shape.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
ColladaMeshShape.computeReferenceCenter(DrawContext dc)
Computes this shape's reference center.
|
Modifier and Type | Method and Description |
---|---|
List<Vec4> |
GMLRectifiedGrid.getOffsetVectors() |
Modifier and Type | Field and Description |
---|---|
protected List<Vec4> |
KMLRegion.RegionData.points
Indicates the model-coordinate points representing the corners and interior of this entry's Region.
|
Modifier and Type | Method and Description |
---|---|
List<Vec4> |
KMLRegion.RegionData.getPoints()
Indicates the model-coordinate points representing the corners and interior of this entry's Region.
|
Modifier and Type | Method and Description |
---|---|
void |
KMLRegion.RegionData.setPoints(List<Vec4> points)
Specifies the model-coordinate points representing the corners and interior of this entry's Region.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4[] |
ExtrudedPolygon.ExtrudedBoundaryInfo.baseVertices
The vertices defining the boundary's base.
|
protected Vec4[] |
ExtrudedPolygon.ExtrudedBoundaryInfo.capVertices
The vertices defining the boundary's cap.
|
protected Vec4 |
BasicLightingModel.lightDirection |
protected Vec4 |
AbstractGeneralShape.modelScale
A scale to apply to the model.
|
protected Vec4 |
GlobeBrowserBalloon.OrderedGlobeBrowserBalloon.placePoint
The model-coordinate point corresponding to this balloon's position.
|
protected Vec4 |
PointPlacemark.placePoint |
protected Vec4 |
PointPlacemark.OrderedPlacemark.placePoint |
protected Vec4 |
IconRenderer.OrderedText.point |
protected Vec4 |
IconRenderer.OrderedIcon.point |
protected Vec4 |
DeclutterableText.point |
protected Vec4 |
Polyline.referenceCenterPoint
Deprecated.
|
protected Vec4 |
AbstractShape.AbstractShapeData.referencePoint
This entry's reference point.
|
protected Vec4 |
GlobeBrowserBalloon.OrderedGlobeBrowserBalloon.screenPlacePoint
The projection of this balloon's
placePoint in the viewport (on the screen). |
protected Vec4 |
PointPlacemark.screenPoint |
protected Vec4 |
PointPlacemark.OrderedPlacemark.screenPoint |
protected Vec4 |
PointPlacemark.terrainPoint |
protected Vec4 |
PointPlacemark.OrderedPlacemark.terrainPoint |
protected Vec4[] |
Polygon.BoundaryInfo.vertices
The shape's computed vertices, arranged in one array.
|
Modifier and Type | Field and Description |
---|---|
protected List<List<Vec4>> |
Polyline.currentSpans
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
AbstractSurfaceRenderable.computeDrawPoint(LatLon location,
SurfaceTileDrawContext sdc) |
protected Vec4 |
PointPlacemark.computeLabelPoint(DrawContext dc,
PointPlacemark.OrderedPlacemark opm)
Computes the screen coordinate (lower-left origin) location of this placemark's label.
|
protected Vec4 |
Polyline.computePoint(DrawContext dc,
Position pos,
boolean applyOffset)
Deprecated.
|
protected Vec4 |
AbstractShape.computePoint(DrawContext dc,
Terrain terrain,
Position position)
Computes a model-coordinate point from a position, applying this shape's altitude mode, and using
CLAMP_TO_GROUND if the current globe is 2D. |
protected Vec4 |
AbstractShape.computePoint(Terrain terrain,
Position position)
Computes a model-coordinate point from a position, applying this shape's altitude mode.
|
Vec4 |
DrawContext.computePointFromPosition(Position position,
int altitudeMode)
Computes a Cartesian point from a specified geographic position, applying a specified altitude mode.
|
Vec4 |
DrawContextImpl.computePointFromPosition(Position position,
int altitudeMode) |
protected Vec4 |
Polygon.computePolygonNormal(DrawContext dc,
Polygon.ShapeData shapeData) |
protected Vec4 |
ExtrudedPolygon.computePolygonNormal(ExtrudedPolygon.ShapeData shapeData) |
protected Vec4 |
Path.computeReferenceCenter(DrawContext dc)
Computes this path's reference center.
|
Vec4 |
RigidShape.computeReferencePoint(DrawContext dc)
Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.
|
protected Vec4 |
RigidShape.computeReferencePoint(Globe globe,
double verticalExaggeration)
Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.
|
protected Vec4 |
AbstractGeneralShape.computeReferencePoint(Terrain terrain) |
protected Vec4 |
Polygon.computeReferencePoint(Terrain terrain,
Matrix rotationMatrix) |
protected Vec4 |
TrackRenderer.computeSurfacePoint(DrawContext dc,
TrackPoint tp) |
Vec4 |
DrawContext.computeTerrainPoint(Angle lat,
Angle lon,
double offset)
Compute a model-coordinate point on the terrain.
|
Vec4 |
DrawContextImpl.computeTerrainPoint(Angle lat,
Angle lon,
double offset) |
protected Vec4 |
TrackRenderer.draw(DrawContext dc,
Iterator<TrackPoint> trackPositions) |
protected Vec4 |
IconRenderer.drawIcon(DrawContext dc,
IconRenderer.OrderedIcon uIcon) |
protected Vec4 |
DeclutteringTextRenderer.drawText(DrawContext dc,
DeclutterableText uText,
double scale,
double opacity) |
protected Vec4 |
GeographicTextRenderer.drawText(DrawContext dc,
GeographicTextRenderer.OrderedText uText,
double scale,
double opacity) |
Vec4 |
GlobeAnnotation.getAnnotationDrawPoint(DrawContext dc)
Get the final Vec4 point at which an annotation will be drawn.
|
protected Vec4 |
BasicAnnotationRenderer.getAnnotationDrawPoint(DrawContext dc,
Annotation annotation)
Get the final Vec4 point at which an annotation will be drawn.
|
protected Vec4 |
GlobeAnnotation.getAnnotationDrawPointLegacy(DrawContext dc)
Compute the draw point using the legacy altitude mode.
|
Vec4 |
BasicLightingModel.getLightDirection()
Returns the model's light direction.
|
Vec4 |
SurfaceIcon.getLocationOffset()
Get the icon displacement in pixels relative to the reference location.
|
Vec4 |
AbstractGeneralShape.getModelScale()
Indicates this shape's scale, if any.
|
Vec4 |
PointPlacemark.OrderedPlacemark.getPlacePoint() |
Vec4 |
IconRenderer.OrderedIcon.getPoint() |
Vec4 |
DeclutterableText.getPoint() |
Vec4 |
DrawContext.getPointOnTerrain(Angle latitude,
Angle longitude)
Computes a location's Cartesian point on the currently visible terrain.
|
Vec4 |
DrawContextImpl.getPointOnTerrain(Angle latitude,
Angle longitude) |
Vec4 |
AbstractShape.getReferencePoint()
Returns the Cartesian coordinates of this shape's reference position as computed during the most recent
rendering.
|
Vec4 |
AbstractShape.AbstractShapeData.getReferencePoint() |
Vec4 |
PointPlacemark.OrderedPlacemark.getScreenPoint() |
Vec4 |
PointPlacemark.OrderedPlacemark.getTerrainPoint() |
Vec4 |
WWIcon.getToolTipOffset()
Indicates the offset in screen coordinates at which to place the lower left corner of the icon tool tip's text
box.
|
Vec4 |
UserFacingIcon.getToolTipOffset() |
Vec4 |
TrackRenderer.pick(DrawContext dc,
Iterator<TrackPoint> trackPositions,
Point pickPoint,
Layer layer) |
Vec4 |
TrackRenderer.render(DrawContext dc,
Iterator<TrackPoint> trackPositions) |
protected Vec4 |
FramebufferTexture.transformToQuadCoordinates(Matrix geoToCartesian,
LatLon latLon) |
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Vec4> |
Polyline.addPointToSpan(Vec4 p,
ArrayList<Vec4> span)
Deprecated.
|
protected ArrayList<Vec4> |
Polyline.clipAndAdd(DrawContext dc,
Vec4 ptA,
Vec4 ptB,
ArrayList<Vec4> span)
Deprecated.
|
protected ArrayList<Vec4> |
Polyline.makeSegment(DrawContext dc,
Position posA,
Position posB,
Vec4 ptA,
Vec4 ptB)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Vec4> |
Polyline.addPointToSpan(Vec4 p,
ArrayList<Vec4> span)
Deprecated.
|
protected void |
IconRenderer.addToolTip(DrawContext dc,
WWIcon icon,
Vec4 iconPoint) |
protected void |
IconRenderer.applyBackground(DrawContext dc,
WWIcon icon,
Vec4 screenPoint,
double width,
double height,
double pedestalSpacing,
double pedestalScale) |
protected void |
BasicLightingModel.applyStandardLightDirection(GL2 gl,
int light,
Vec4 direction) |
protected ArrayList<Vec4> |
Polyline.clipAndAdd(DrawContext dc,
Vec4 ptA,
Vec4 ptB,
ArrayList<Vec4> span)
Deprecated.
|
protected void |
ExtrudedPolygon.computeBoundaryVertices(Terrain terrain,
ExtrudedPolygon.ExtrudedBoundaryInfo boundary,
Vec4 refPoint)
Compute and set the Cartesian vertices for one specified boundary of this shape.
|
protected void |
Polygon.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,
Dimension size) |
protected Point2D.Float |
GeographicTextRenderer.computeDrawPoint(DrawContext dc,
Rectangle2D rect,
Vec4 screenPoint)
Computes the final draw point for the given rectangle lower left corner and target screen point.
|
protected Point2D.Float |
DeclutteringTextRenderer.computeDrawPoint(Rectangle2D rect,
Vec4 screenPoint)
Computes the final draw point for the given rectangle lower left corner and target screen point.
|
protected Extent |
ExtrudedPolygon.computeExtent(ExtrudedPolygon.ExtrudedBoundaryInfo outerBoundary,
Vec4 refPoint)
Computes this shapes extent.
|
protected Extent |
Polygon.computeExtent(Polygon.BoundaryInfo boundary,
Vec4 refPoint)
Computes the Cartesian extent of a polygon boundary.
|
protected void |
IconRenderer.doRecordFeedback(DrawContext dc,
WWIcon icon,
Vec4 modelPoint,
Rectangle screenRect)
Records feedback about how the specified WWIcon has been processed.
|
protected abstract void |
TrackRenderer.Shape.doRender(DrawContext dc,
Vec4 point,
double radius) |
protected void |
TrackRenderer.Cylinder.doRender(DrawContext dc,
Vec4 point,
double size) |
protected void |
BasicAnnotationRenderer.drawOne(DrawContext dc,
Annotation annotation,
Vec4 annotationPoint,
Layer layer) |
protected FloatBuffer |
ExtrudedPolygon.fillSideNormalBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer nBuf) |
protected FloatBuffer |
ExtrudedPolygon.fillSideNormalBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer nBuf) |
protected void |
ExtrudedPolygon.fillSideTexCoordBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer tBuf)
Computes the texture coordinates for a boundary of this shape.
|
protected void |
ExtrudedPolygon.fillSideTexCoordBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer tBuf)
Computes the texture coordinates for a boundary of this shape.
|
protected FloatBuffer |
ExtrudedPolygon.fillSideVertexBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer vBuf) |
protected FloatBuffer |
ExtrudedPolygon.fillSideVertexBuffer(Vec4[] topVerts,
Vec4[] bottomVerts,
FloatBuffer vBuf) |
protected boolean |
Path.isSegmentVisible(DrawContext dc,
Position posA,
Position posB,
Vec4 ptA,
Vec4 ptB)
Determines whether the segment between two path positions is visible.
|
protected boolean |
Polyline.isSegmentVisible(DrawContext dc,
Position posA,
Position posB,
Vec4 ptA,
Vec4 ptB)
Deprecated.
|
protected boolean |
Path.isSmall(DrawContext dc,
Vec4 ptA,
Vec4 ptB,
int numPixels) |
protected ArrayList<Vec4> |
Polyline.makeSegment(DrawContext dc,
Position posA,
Position posB,
Vec4 ptA,
Vec4 ptB)
Deprecated.
|
protected void |
Path.makeSegment(DrawContext dc,
Position posA,
Position posB,
Vec4 ptA,
Vec4 ptB,
Color colorA,
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.
|
void |
AnnotationRenderer.pick(DrawContext dc,
Annotation annotation,
Vec4 annotationPoint,
Point pickPoint,
Layer annotationLayer) |
void |
BasicAnnotationRenderer.pick(DrawContext dc,
Annotation annotation,
Vec4 annotationPoint,
Point pickPoint,
Layer layer) |
protected void |
IconRenderer.recordFeedback(DrawContext dc,
WWIcon icon,
Vec4 modelPoint,
Rectangle screenRect)
If feedback is enabled for the specified WWIcon, this method records feedback about how the specified WWIcon has
been processed.
|
void |
AnnotationRenderer.render(DrawContext dc,
Annotation annotation,
Vec4 annotationPoint,
Layer layer) |
void |
BasicAnnotationRenderer.render(DrawContext dc,
Annotation annotation,
Vec4 annotationPoint,
Layer layer) |
void |
GeographicTextRenderer.render(DrawContext dc,
GeographicText text,
Vec4 textPoint) |
protected void |
TrackRenderer.Shape.render(DrawContext dc,
Vec4 point,
double radius) |
protected void |
GeographicTextRenderer.setDepthFunc(DrawContext dc,
GeographicTextRenderer.OrderedText uText,
Vec4 screenPoint) |
protected void |
IconRenderer.setDepthFunc(DrawContext dc,
IconRenderer.OrderedIcon uIcon,
Vec4 screenPoint) |
protected void |
DeclutteringTextRenderer.setDepthFunc(DrawContext dc,
Vec4 screenPoint) |
protected void |
GlobeAnnotation.setDepthFunc(DrawContext dc,
Vec4 screenPoint) |
void |
BasicLightingModel.setLightDirection(Vec4 lightDirection)
Specifies the model's light direction.
|
void |
SurfaceIcon.setLocationOffset(Vec4 locationOffset)
Set the icon displacement in pixels relative to the reference location.
|
void |
AbstractGeneralShape.setModelScale(Vec4 modelScale)
Specifies this shape's scale.
|
void |
AbstractShape.AbstractShapeData.setReferencePoint(Vec4 referencePoint) |
void |
WWIcon.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.
|
void |
UserFacingIcon.setToolTipOffset(Vec4 toolTipOffset) |
protected void |
ExtrudedPolygon.tessellatePolygon(ExtrudedPolygon.ShapeData shapeData,
Vec4 normal)
Tessellates the polygon from its vertices.
|
protected void |
Polygon.tessellatePolygon(Polygon.ShapeData shapeData,
Vec4 normal)
Tessellates the polygon from its vertices.
|
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Vec4> |
Polyline.addPointToSpan(Vec4 p,
ArrayList<Vec4> span)
Deprecated.
|
protected void |
Polyline.addSpan(ArrayList<Vec4> span)
Deprecated.
|
protected ArrayList<Vec4> |
Polyline.clipAndAdd(DrawContext dc,
Vec4 ptA,
Vec4 ptB,
ArrayList<Vec4> span)
Deprecated.
|
Constructor and Description |
---|
OrderedIcon(WWIcon icon,
Vec4 point,
Layer layer,
double eyeDistance,
double horizonDistance) |
OrderedText(String text,
Font font,
Vec4 point,
Color color,
double eyeDistance) |
OrderedText(String text,
Font font,
Vec4 point,
Point pickPoint,
Layer layer,
double eyeDistance) |
Modifier and Type | Field and Description |
---|---|
protected List<Vec4> |
AbstractAirspace.AirspaceInfo.minimalGeometry |
Modifier and Type | Method and Description |
---|---|
Vec4 |
AbstractAirspace.computePointFromPosition(DrawContext dc,
Angle latitude,
Angle longitude,
double elevation,
boolean terrainConformant) |
protected Vec4 |
CappedEllipticalCylinder.computeReferenceCenter(DrawContext dc) |
protected Vec4 |
Orbit.computeReferenceCenter(DrawContext dc) |
protected Vec4 |
Curtain.computeReferenceCenter(DrawContext dc) |
protected Vec4 |
CappedCylinder.computeReferenceCenter(DrawContext dc) |
protected Vec4 |
Polygon.computeReferenceCenter(DrawContext dc) |
protected Vec4 |
Box.computeReferenceCenter(DrawContext dc) |
Modifier and Type | Method and Description |
---|---|
protected List<Vec4> |
AbstractAirspace.computeMinimalGeometry(DrawContext dc) |
protected List<Vec4> |
CappedEllipticalCylinder.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
TrackAirspace.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
Orbit.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
PolyArc.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
Curtain.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
CappedCylinder.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
Polygon.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
SphereAirspace.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected abstract List<Vec4> |
AbstractAirspace.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
Cake.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
Box.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
protected List<Vec4> |
PartialCappedCylinder.computeMinimalGeometry(Globe globe,
double verticalExaggeration) |
Modifier and Type | Method and Description |
---|---|
protected int |
Polygon.computeEllipsoidalPolygon(Globe globe,
List<? extends LatLon> locations,
List<Boolean> edgeFlags,
Vec4[] points,
Boolean[] edgeFlagArray,
Matrix[] transform) |
protected void |
Curtain.drawCurtainFill(DrawContext dc,
int count,
LatLon[] locations,
String pathType,
double splitThreshold,
double[] altitudes,
boolean[] terrainConformant,
Vec4 referenceCenter) |
protected void |
Curtain.drawCurtainOutline(DrawContext dc,
int count,
LatLon[] locations,
String pathType,
double splitThreshold,
double[] altitudes,
boolean[] terrainConformant,
Vec4 referenceCenter) |
protected Curtain.CurtainGeometry |
Curtain.getCurtainGeometry(DrawContext dc,
int count,
LatLon[] locations,
String pathType,
double splitThreshold,
double[] altitudes,
boolean[] terrainConformant,
Vec4 referenceCenter) |
protected void |
Curtain.makeCurtainGeometry(DrawContext dc,
int count,
LatLon[] locations,
String pathType,
double splitThreshold,
double[] altitudes,
boolean[] terrainConformant,
Vec4 referenceCenter,
Curtain.CurtainGeometry dest) |
protected void |
Curtain.makeSectionVertices(DrawContext dc,
LatLon begin,
LatLon end,
String pathType,
double[] altitude,
boolean[] terrainConformant,
int pillars,
int vertexPos,
float[] dest,
Vec4 referenceCenter) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAirspace.makeExtremePoints(Globe globe,
double verticalExaggeration,
Iterable<? extends LatLon> locations,
List<Vec4> extremePoints) |
Constructor and Description |
---|
AirspaceInfo(DrawContext dc,
Extent extent,
List<Vec4> minimalGeometry) |
Modifier and Type | Method and Description |
---|---|
static Vec4 |
AirspaceEditorUtil.computeSurfacePoint(WorldWindow wwd,
Angle latitude,
Angle longitude) |
protected Vec4 |
SphereAirspaceEditor.getCenterPoint(WorldWindow wwd,
Airspace airspace) |
Vec4 |
BasicAirspaceControlPointRenderer.getLightDirection() |
Vec4 |
BasicAirspaceControlPoint.getPoint() |
Vec4 |
AirspaceControlPoint.getPoint() |
static Vec4 |
AirspaceEditorUtil.intersectAirspaceAltitudeAt(WorldWindow wwd,
Airspace airspace,
int altitudeIndex,
Line ray) |
static Vec4 |
AirspaceEditorUtil.intersectGlobeAt(WorldWindow wwd,
double elevation,
Line ray) |
static Vec4 |
AirspaceEditorUtil.nearestIntersectionPoint(Line line,
Intersection[] intersections) |
static Vec4 |
AirspaceEditorUtil.nearestPointOnLine(Line source,
Line target) |
static Vec4 |
AirspaceEditorUtil.nearestPointOnSegment(Vec4 p1,
Vec4 p2,
Vec4 point) |
Modifier and Type | Method and Description |
---|---|
static double |
AirspaceEditorUtil.computeHeightAboveSurface(WorldWindow wwd,
Vec4 point) |
protected double |
BasicAirspaceControlPointRenderer.computeMarkerRadius(DrawContext dc,
Marker marker,
Vec4 point) |
static boolean |
AirspaceEditorUtil.isPointBehindLineOrigin(Line line,
Vec4 point) |
static Vec4 |
AirspaceEditorUtil.nearestPointOnSegment(Vec4 p1,
Vec4 p2,
Vec4 point) |
void |
BasicAirspaceControlPointRenderer.setLightDirection(Vec4 direction) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
MarkerRenderer.OrderedMarker.point |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
BasicMarkerShape.Shape.computeOrientationVector(DrawContext dc,
Vec4 point,
Vec4 normal,
Angle heading,
Angle pitch)
Compute a direction vector given a point, heading and pitch.
|
protected Vec4 |
MarkerRenderer.computeSurfacePoint(DrawContext dc,
Position pos) |
Modifier and Type | Method and Description |
---|---|
protected double |
MarkerRenderer.computeMarkerRadius(DrawContext dc,
Vec4 point,
Marker marker) |
protected Vec4 |
BasicMarkerShape.Shape.computeOrientationVector(DrawContext dc,
Vec4 point,
Vec4 normal,
Angle heading,
Angle pitch)
Compute a direction vector given a point, heading and pitch.
|
protected abstract void |
BasicMarkerShape.Shape.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
int[] dlResource) |
protected void |
BasicMarkerShape.Sphere.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
int[] dlResource) |
protected void |
BasicMarkerShape.Cube.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double size,
int[] dlResource) |
protected void |
BasicMarkerShape.Cone.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double size,
int[] dlResource) |
protected void |
BasicMarkerShape.Cylinder.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double size,
int[] dlResource) |
protected void |
BasicMarkerShape.HeadingLine.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double size,
int[] dlResource) |
protected void |
BasicMarkerShape.HeadingArrow.doRender(DrawContext dc,
Marker marker,
Vec4 point,
double size,
int[] dlResource) |
protected boolean |
MarkerRenderer.intersectsFrustum(DrawContext dc,
Vec4 point,
double radius) |
void |
BasicMarkerShape.CompoundShape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius) |
void |
BasicMarkerShape.Shape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius) |
void |
MarkerShape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius) |
void |
BasicMarkerShape.CompoundShape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative) |
void |
BasicMarkerShape.Shape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative) |
void |
MarkerShape.render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative) |
void |
Marker.render(DrawContext dc,
Vec4 point,
double radius) |
void |
BasicMarker.render(DrawContext dc,
Vec4 point,
double radius) |
void |
Marker.render(DrawContext dc,
Vec4 point,
double radius,
boolean isRelative) |
void |
BasicMarker.render(DrawContext dc,
Vec4 point,
double radius,
boolean isRelative) |
Constructor and Description |
---|
OrderedMarker(int index,
Marker marker,
Vec4 point,
double radius,
Layer layer,
double eyeDistance) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
TacticalGraphicLabel.OrderedLabel.placePoint
Geographic position in cartesian coordinates.
|
Vec4 |
AbstractTacticalSymbol.OrderedSymbol.placePoint
Per-frame Cartesian point corresponding to this symbol's position.
|
protected Vec4 |
TacticalGraphicLabel.OrderedLabel.screenPlacePoint
Location of the place point projected onto the screen.
|
Vec4 |
AbstractTacticalSymbol.OrderedSymbol.screenPoint
Per-frame screen point corresponding to the projection of the placePoint in the viewport (on the screen).
|
Modifier and Type | Method and Description |
---|---|
static Vec4 |
TacticalGraphicUtil.bezierCurve(Vec4[] controlPoints,
double t,
int[] coefficients)
Compute a point along a Bezier curve defined by a list of control points.
|
Modifier and Type | Method and Description |
---|---|
static List<Position> |
TacticalGraphicUtil.asPositionList(Globe globe,
Vec4... points)
Convert a list of cartesian points to Positions.
|
static Vec4 |
TacticalGraphicUtil.bezierCurve(Vec4[] controlPoints,
double t,
int[] coefficients)
Compute a point along a Bezier curve defined by a list of control points.
|
protected Angle |
TacticalGraphicLabel.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.
|
Modifier and Type | Method and Description |
---|---|
protected static Vec4 |
MilStd2525Util.computeDirectionOfMovement(DrawContext dc,
Vec4 symbolPoint,
Angle heading,
double length)
Compute a vector in the direction that a symbol is moving.
|
Modifier and Type | Method and Description |
---|---|
static List<? extends 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 Vec4 |
MilStd2525Util.computeDirectionOfMovement(DrawContext dc,
Vec4 symbolPoint,
Angle heading,
double length)
Compute a vector in the direction that a symbol is moving.
|
static List<? extends 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.
|
Modifier and Type | Method and Description |
---|---|
protected Angle |
EchelonSymbol.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.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
InfiltrationLane.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 Vec4 |
DirectionOfAttackAviation.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.
|
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
InfiltrationLane.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 |
InfiltrationLane.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 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 void |
HoldingLine.computeRoundCorner(Globe globe,
List<Position> positions,
Vec4 ptLeg1,
Vec4 ptVertex,
Vec4 ptLeg2,
double distance,
int intervals)
Compute positions to draw a rounded corner between three points.
|
protected List<Position> |
LinearTarget.computeVerticalSegmentPositions(Globe globe,
Vec4 basePoint,
Vec4 segment,
double verticalLength)
Compute positions for one of the vertical segments in the graphic.
|
protected void |
LineOfContact.generateParallelPoints(Vec4 point,
Vec4 prev,
Vec4 next,
List<Position> leftPositions,
List<Position> rightPositions,
double halfWidth,
Globe globe)
Compute points on either side of a line segment.
|
protected Vec4 |
DirectionOfAttackAviation.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.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
HighResolutionTerrain.RenderInfo.referenceCenter |
protected Vec4 |
RectangularTessellator.RenderInfo.referenceCenter |
Modifier and Type | Method and Description |
---|---|
protected static Vec4 |
RectangularTessellator.applyOffset(Globe globe,
Vec4 point,
double metersOffset)
Offsets
point by metersOffset meters. |
protected Vec4 |
HighResolutionTerrain.applyOffset(Vec4 point,
double metersOffset)
Applies a specified vertical offset to a surface point.
|
Vec4 |
RectangularTessellator.RenderInfo.getReferenceCenter() |
Vec4 |
SectorGeometryList.getSurfacePoint(Angle latitude,
Angle longitude)
Computes a Cartesian point at a specified location on the terrain.
|
Vec4 |
HighResolutionTerrain.getSurfacePoint(Angle latitude,
Angle longitude,
double metersOffset)
Computes the Cartesian, model-coordinate point of a location on the terrain.
|
Vec4 |
Terrain.getSurfacePoint(Angle latitude,
Angle longitude,
double metersOffset)
Computes the Cartesian, model-coordinate point of a location on the terrain.
|
Vec4 |
SectorGeometry.getSurfacePoint(Angle latitude,
Angle longitude,
double metersOffset)
Computes the Cartesian coordinates of a location on the geometry's surface.
|
Vec4 |
SectorGeometryList.getSurfacePoint(Angle latitude,
Angle longitude,
double metersOffset)
Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.
|
Vec4 |
RectangularTessellator.RectTile.getSurfacePoint(Angle latitude,
Angle longitude,
double metersOffset) |
protected Vec4 |
HighResolutionTerrain.getSurfacePoint(HighResolutionTerrain.RectTile tile,
Angle latitude,
Angle longitude)
Computes the Cartesian, model-coordinate point of a location within a terrain tile.
|
protected Vec4 |
HighResolutionTerrain.getSurfacePoint(HighResolutionTerrain.RectTile tile,
Angle latitude,
Angle longitude,
double metersOffset)
Computes the Cartesian, model-coordinate point of a location within a terrain tile.
|
Vec4 |
SectorGeometryList.getSurfacePoint(LatLon latLon)
Computes a Cartesian point at a specified location on the terrain.
|
Vec4 |
HighResolutionTerrain.getSurfacePoint(Position position)
Computes the Cartesian, model-coordinate point of a position on the terrain.
|
Vec4 |
Terrain.getSurfacePoint(Position position)
Computes the Cartesian, model-coordinate point of a position on the terrain.
|
Vec4 |
SectorGeometryList.getSurfacePoint(Position position)
Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.
|
protected Vec4 |
RectangularTessellator.getSurfacePoint(RectangularTessellator.RectTile tile,
Angle latitude,
Angle longitude) |
protected Vec4 |
RectangularTessellator.getSurfacePoint(RectangularTessellator.RectTile tile,
Angle latitude,
Angle longitude,
double metersOffset) |
protected static Vec4 |
HighResolutionTerrain.interpolate(int row,
int column,
double xDec,
double yDec,
HighResolutionTerrain.RenderInfo ri) |
protected static Vec4 |
RectangularTessellator.interpolate(int row,
int column,
double xDec,
double yDec,
RectangularTessellator.RenderInfo ri)
Calculates a
Point that sits at xDec offset from column to column +
1 and at yDec offset from row to row + 1 . |
protected static Vec4 |
HighResolutionTerrain.interpolate(Vec4 bL,
Vec4 bR,
Vec4 tR,
Vec4 tL,
double xDec,
double yDec) |
protected static Vec4 |
RectangularTessellator.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}.
|
Modifier and Type | Method and Description |
---|---|
protected static Vec4 |
RectangularTessellator.applyOffset(Globe globe,
Vec4 point,
double metersOffset)
Offsets
point by metersOffset meters. |
protected Vec4 |
HighResolutionTerrain.applyOffset(Vec4 point,
double metersOffset)
Applies a specified vertical offset to a surface point.
|
protected static double[] |
RectangularTessellator.baryCentricCoordsRequireInside(Vec4 pnt,
Vec4[] V) |
protected static double[] |
RectangularTessellator.baryCentricCoordsRequireInside(Vec4 pnt,
Vec4[] V) |
protected static double |
RectangularTessellator.distanceFromLine(Vec4 pnt,
Vec4 P,
Vec4 u) |
protected static Vec4 |
HighResolutionTerrain.interpolate(Vec4 bL,
Vec4 bR,
Vec4 tR,
Vec4 tL,
double xDec,
double yDec) |
protected static Vec4 |
RectangularTessellator.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 List<Vec4[]> |
HighResolutionTerrain.intersect(HighResolutionTerrain.RectTile tile,
Vec4[] triangle)
Computes the intersection of a triangle with a terrain tile.
|
void |
HighResolutionTerrain.intersectTriangle(Vec4[] triangleCoordinates,
Position[] trianglePositions,
List<Position[]> intersectPositionsOut)
Intersects a specified triangle with the terrain.
|
Constructor and Description |
---|
RenderInfo(DrawContext dc,
int density,
FloatBuffer vertices,
Vec4 refCenter) |
RenderInfo(int density,
float[] vertices,
Vec4 refCenter,
Position minElev,
Position maxElev) |
Modifier and Type | Field and Description |
---|---|
protected static Vec4 |
OGLUtil.DEFAULT_LIGHT_DIRECTION |
protected Vec4 |
BasicDragger.dragRefObjectPoint |
Modifier and Type | Method and Description |
---|---|
static Vec4 |
WWMath.computeArrayNormal(Vec4[] coords)
Computes a unit-length normal vector for an array of coordinates.
|
static Vec4 |
WWMath.computeBufferNormal(FloatBuffer coords,
int stride)
Computes a unit-length normal vector for a buffer of coordinate triples.
|
protected Vec4 |
ShapeEditor.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(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 Vec4 |
WWMath.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(FloatBuffer coords,
int stride)
Finds three non-colinear points in a buffer.
|
static Vec4[] |
WWMath.findThreeIndependentVertices(Vec4[] coords)
Finds three non-colinear points in an array of points.
|
static Vec4 |
WWMath.generateParallelPoints(Vec4 point,
Vec4 prev,
Vec4 next,
List<Position> leftPositions,
List<Position> rightPositions,
double distance,
double elevation,
Globe globe,
Vec4 previousOffset)
Compute points on either side of a line segment.
|
Vec4 |
VecBuffer.VectorAccessor.getElement(int position) |
Vec4 |
VecBuffer.getVector(int position)
Returns the vector element at the specified position, as a
Vec4 . |
static Vec4 |
RayCastingSupport.intersectSegmentWithTerrain(Globe globe,
Vec4 p1,
Vec4 p2)
Compute the intersection
Vec4 point of the globe terrain with a line segment
defined between two points. |
static Vec4 |
RayCastingSupport.intersectSegmentWithTerrain(Globe globe,
Vec4 p1,
Vec4 p2,
double sampleLength,
double precision)
Compute the intersection
Vec4 point of the globe terrain with the a segment
defined between two points. |
protected Vec4 |
ShapeEditor.nearestPointOnSegment(Vec4 p1,
Vec4 p2,
Vec4 point)
Computes the point on a specified line segment that is nearest a specified point.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Vec4> |
VecBuffer.getReverseVectors()
Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.
|
Iterable<? extends Vec4> |
CompoundVecBuffer.getReverseVectors()
Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.
|
Iterable<Vec4> |
VecBuffer.getVectors()
Returns an iterator over this buffer's logical vectors, as Vec4 references.
|
Iterable<? extends Vec4> |
CompoundVecBuffer.getVectors()
Returns an iterator over this buffer's logical vectors, as Vec4 references.
|
Iterator<Vec4> |
CompoundVecBuffer.VectorIterable.iterator(int index) |
Iterator<Vec4> |
CompoundVecBuffer.VectorIterable.reverseIterator(int index) |
Modifier and Type | Method and Description |
---|---|
static void |
OGLUtil.applyLightingDirectionalFromViewer(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.
|
void |
GLUTessellatorSupport.beginTessellation(GLUtessellatorCallback callback,
Vec4 normal)
Prepares this GLUTessellatorSupport's internal GLU tessellator for use.
|
static Vec4 |
WWMath.computeArrayNormal(Vec4[] coords)
Computes a unit-length normal vector for an array of coordinates.
|
static boolean |
WWMath.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.
|
static boolean |
WWMath.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.
|
static boolean |
WWMath.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.
|
float |
GeometryBuilder.computePolygonArea2(int pos,
int count,
Vec4[] points) |
int |
GeometryBuilder.computePolygonWindingOrder2(int pos,
int count,
Vec4[] points) |
static double |
WWMath.computeSphereProjectedArea(View view,
Vec4 center,
double radius)
Computes the area in square pixels of a sphere after it is projected into the specified
view's
viewport. |
static Vec4 |
WWMath.computeTriangleNormal(Vec4 a,
Vec4 b,
Vec4 c)
Returns the normal vector corresponding to the triangle defined by three vertices (a, b, c).
|
boolean |
PickPointFrustumList.containsInAll(Vec4 point)
Returns true if the specified point is inside the space enclosed by ALL of the frustums
|
boolean |
PickPointFrustumList.containsInAny(Vec4 point)
Returns true if the specified point is inside the space enclosed by ANY of the frustums
|
static FloatBuffer |
WWBufferUtil.copyArrayToBuffer(Vec4[] array,
FloatBuffer buffer)
Copies a specified array of vertices to a specified vertex buffer.
|
protected void |
PlacemarkClutterFilter.DeclutteredLabel.drawDeclutterLabel(DrawContext dc,
Font font,
Vec4 textPoint,
String labelText) |
protected void |
PlacemarkClutterFilter.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 Vec4 |
WWMath.generateParallelPoints(Vec4 point,
Vec4 prev,
Vec4 next,
List<Position> leftPositions,
List<Position> rightPositions,
double distance,
double elevation,
Globe globe,
Vec4 previousOffset)
Compute points on either side of a line segment.
|
static Position |
RayCastingSupport.intersectRayWithTerrain(Globe globe,
Vec4 origin,
Vec4 direction)
Compute the intersection
Position of the globe terrain with the ray starting
at origin in the given direction. |
static Position |
RayCastingSupport.intersectRayWithTerrain(Globe globe,
Vec4 origin,
Vec4 direction,
double sampleLength,
double precision)
Compute the intersection
Position of the globe terrain with the ray starting
at origin in the given direction. |
boolean |
PickPointFrustumList.intersectsAny(Vec4 pa,
Vec4 pb)
Returns true if a specified line segment intersects the space enclosed by ANY of the Frustums.
|
static Vec4 |
RayCastingSupport.intersectSegmentWithTerrain(Globe globe,
Vec4 p1,
Vec4 p2)
Compute the intersection
Vec4 point of the globe terrain with a line segment
defined between two points. |
static Vec4 |
RayCastingSupport.intersectSegmentWithTerrain(Globe globe,
Vec4 p1,
Vec4 p2,
double sampleLength,
double precision)
Compute the intersection
Vec4 point of the globe terrain with the a segment
defined between two points. |
void |
GeometryBuilder.makeCylinderVertices(Terrain terrain,
LatLon center,
double radius,
double[] altitudes,
boolean[] terrainConformant,
int slices,
int stacks,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.makeCylinderVertices(Terrain terrain,
LatLon center,
double minorRadius,
double majorRadius,
Angle heading,
double[] altitudes,
boolean[] terrainConformant,
int slices,
int stacks,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.makeDiskVertices(Terrain terrain,
LatLon center,
double[] radii,
Angle heading,
double altitude,
boolean terrainConformant,
int slices,
int loops,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.makeDiskVertices(Terrain terrain,
LatLon center,
double innerRadius,
double outerRadius,
double altitude,
boolean terrainConformant,
int slices,
int loops,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.makeLongCylinderVertices(Terrain terrain,
LatLon center1,
LatLon center2,
double radius,
double[] altitudes,
boolean[] terrainConformant,
int arcSlices,
int lengthSlices,
int stacks,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.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) |
void |
GeometryBuilder.makePartialCylinderVertices(Terrain terrain,
LatLon center,
double radius,
double[] altitudes,
boolean[] terrainConformant,
int slices,
int stacks,
double start,
double sweep,
Vec4 refPoint,
float[] dest) |
void |
GeometryBuilder.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) |
void |
GeometryBuilder.makeRadialWallVertices(Terrain terrain,
LatLon center,
double innerRadius,
double outerRadius,
double angle,
double[] altitudes,
boolean[] terrainConformant,
int pillars,
int stacks,
Vec4 refPoint,
float[] dest) |
protected Vec4 |
ShapeEditor.nearestPointOnSegment(Vec4 p1,
Vec4 p2,
Vec4 point)
Computes the point on a specified line segment that is nearest a specified point.
|
void |
VecBuffer.putVector(int position,
Vec4 vec)
Sets the vector element at the specified position, as a Vec4.
|
GeometryBuilder.IndexedTriangleArray |
GeometryBuilder.tessellatePolygon(int pos,
int count,
float[] vertices,
Vec4 normal) |
Modifier and Type | Method and Description |
---|---|
static double |
WWMath.computePolygonAreaFromVertices(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(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 String |
WWMath.computeWindingOrderOfVertices(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 boolean |
WWMath.isPolygonClosed2(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).
|
void |
VecBuffer.putVectors(int position,
Iterable<? extends Vec4> iterable)
Sets a subsequence of this buffer with the contents of the specified Iterable.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
BasicView.lastEyePoint |
protected Vec4 |
BasicView.lastForwardVector |
protected Vec4 |
BasicView.lastUpVector |
Modifier and Type | Method and Description |
---|---|
Vec4 |
BasicView.getCenterPoint() |
Vec4 |
BasicView.getCurrentEyePoint() |
Vec4 |
BasicView.getCurrentForwardVector()
Returns the most up-to-date forward vector.
|
Vec4 |
BasicView.getEyePoint() |
Vec4 |
BasicView.getForwardVector() |
Vec4 |
BasicView.getUpVector() |
static Vec4 |
ViewUtil.getUpVector(Globe globe,
Vec4 lookAtPoint) |
Vec4 |
BasicView.project(Vec4 modelPoint) |
static Vec4 |
ViewUtil.project(Vec4 modelPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms a point in model coordinates to a point in screen coordinates.
|
Vec4 |
BasicView.project(Vec4 point,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms the specified object coordinates into window coordinates using the given modelview and projection
matrices, and viewport.
|
Vec4 |
BasicView.unProject(Vec4 windowPoint) |
static Vec4 |
ViewUtil.unProject(Vec4 windowPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms a point in screen coordinates to a point in model coordinates.
|
Vec4 |
BasicView.unProject(Vec4 windowPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Maps the given window coordinates into model coordinates using the given matrices and viewport.
|
Modifier and Type | Method and Description |
---|---|
static ViewUtil.ViewState |
ViewUtil.computeModelCoordinates(Globe globe,
Matrix modelTransform,
Vec4 centerPoint,
Vec4 eyePoint) |
static Matrix |
ViewUtil.computeModelViewMatrix(Globe globe,
Vec4 eyePoint,
Vec4 centerPoint,
Vec4 up) |
static ViewUtil.ViewState |
ViewUtil.computeViewState(Globe globe,
Vec4 eyePoint,
Vec4 centerPoint,
Vec4 up) |
static Vec4 |
ViewUtil.getUpVector(Globe globe,
Vec4 lookAtPoint) |
Vec4 |
BasicView.project(Vec4 modelPoint) |
static Vec4 |
ViewUtil.project(Vec4 modelPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms a point in model coordinates to a point in screen coordinates.
|
Vec4 |
BasicView.project(Vec4 point,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms the specified object coordinates into window coordinates using the given modelview and projection
matrices, and viewport.
|
Matrix |
BasicView.pushReferenceCenter(DrawContext dc,
Vec4 referenceCenter) |
Matrix |
BasicView.setReferenceCenter(DrawContext dc,
Vec4 referenceCenter) |
Vec4 |
BasicView.unProject(Vec4 windowPoint) |
static Vec4 |
ViewUtil.unProject(Vec4 windowPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Transforms a point in screen coordinates to a point in model coordinates.
|
Vec4 |
BasicView.unProject(Vec4 windowPoint,
Matrix modelview,
Matrix projection,
Rectangle viewport)
Maps the given window coordinates into model coordinates using the given matrices and viewport.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
OrbitViewEyePointAnimator.eyePoint |
Modifier and Type | Method and Description |
---|---|
Vec4 |
BasicOrbitView.getCenterPoint() |
Vec4 |
BasicOrbitView.getCurrentEyePoint() |
Modifier and Type | Method and Description |
---|---|
protected double |
FlatOrbitView.computeHorizonDistance(Vec4 eyePoint)
Deprecated.
|
static OrbitViewInputSupport.OrbitViewState |
OrbitViewInputSupport.computeOrbitViewState(Globe globe,
Matrix modelTransform,
Vec4 centerPoint) |
static OrbitViewInputSupport.OrbitViewState |
OrbitViewInputSupport.computeOrbitViewState(Globe globe,
Vec4 eyePoint,
Vec4 centerPoint,
Vec4 up) |
static void |
OrbitViewEyePointAnimator.setEyePoint(Globe globe,
BasicOrbitView view,
Vec4 newEyePoint) |
void |
OrbitViewEyePointAnimator.setEyePoint(Vec4 eyePoint) |
protected void |
OrbitViewInputHandler.setEyePoint(Vec4 eyePoint,
ViewInputAttributes.ActionAttributes attrib) |
Constructor and Description |
---|
OrbitViewEyePointAnimator(Globe globe,
BasicOrbitView view,
Vec4 eyePoint,
double smoothing) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
AntennaModel.getVec(AntennaModel.ShapeData shapeData,
int i,
int j) |
Modifier and Type | Method and Description |
---|---|
protected void |
AntennaAxes.drawLabel(TextRenderer textRenderer,
String text,
Vec4 screenPoint,
Color textColor,
Color bgColor) |
protected void |
AntennaModel.putVec(int i,
int j,
Vec4 vec,
FloatBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
double |
SARSegmentPlane.getObjectSize(String key,
Vec4 point) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
TrackSegmentInfo.getScreenPoint(DrawContext dc,
Position position) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
SegmentPlaneRenderer.RenderInfo.planeReferenceCenter |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
SegmentPlaneRenderer.computeNearestGridLineToPoint(Vec4 point,
SegmentPlaneRenderer.RenderInfo renderInfo) |
protected Vec4 |
SegmentPlaneRenderer.computeNearestLineToPoint(Vec4 point,
int count,
IntBuffer indices,
DoubleBuffer vertices,
Vec4 referenceCenter) |
protected Vec4 |
SegmentPlaneRenderer.computeNearestOutlineToPoint(Vec4 point,
SegmentPlaneRenderer.RenderInfo renderInfo) |
Vec4 |
SegmentPlaneAttributes.GeometryAttributes.getOffset() |
Vec4 |
SegmentPlaneAttributes.LabelAttributes.getOffset() |
Vec4 |
SegmentPlaneRenderer.OrderedText.getScreenPoint(DrawContext dc) |
protected Vec4 |
SegmentPlaneRenderer.OrderedText.getScreenPoint(DrawContext dc,
Position position) |
protected static Vec4 |
SegmentPlaneRenderer.getVertex3(int position,
DoubleBuffer vertices) |
Vec4 |
SegmentPlaneRenderer.intersect(Globe globe,
Line ray,
SegmentPlane segmentPlane) |
protected Vec4 |
SegmentPlaneRenderer.intersectRayWithFill(Line ray,
SegmentPlaneRenderer.RenderInfo renderInfo) |
protected Vec4 |
SegmentPlaneRenderer.intersectRayWithTriangleStrip(Line ray,
int count,
IntBuffer indices,
DoubleBuffer vertices,
Vec4 referenceCenter) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
SegmentPlaneRenderer.computeNearestGridLineToPoint(Vec4 point,
SegmentPlaneRenderer.RenderInfo renderInfo) |
protected Vec4 |
SegmentPlaneRenderer.computeNearestLineToPoint(Vec4 point,
int count,
IntBuffer indices,
DoubleBuffer vertices,
Vec4 referenceCenter) |
protected Vec4 |
SegmentPlaneRenderer.computeNearestOutlineToPoint(Vec4 point,
SegmentPlaneRenderer.RenderInfo renderInfo) |
double |
SegmentPlaneRenderer.computeObjectSize(View view,
Globe globe,
SegmentPlane segmentPlane,
Object key,
Vec4 point) |
protected double |
SegmentPlaneRenderer.computeObjectSize(View view,
Globe globe,
SegmentPlane segmentPlane,
Object key,
Vec4 point,
boolean usePickSize) |
protected void |
SegmentPlaneRenderer.computePlaneVertices(Globe globe,
SegmentPlane segmentPlane,
int uStacks,
int vStacks,
double uStep,
double vStep,
Vec4 referenceCenter,
DoubleBuffer buffer) |
protected double |
SegmentPlaneRenderer.computeSizeForPixels(View view,
Vec4 point,
double pixels,
double minSize,
double maxSize) |
protected void |
SegmentPlaneRenderer.OrderedText.drawText(String text,
Vec4 screenPoint,
SegmentPlaneAttributes.LabelAttributes attributes,
MultiLineTextRenderer mltr) |
protected Vec4 |
SegmentPlaneRenderer.intersectRayWithTriangleStrip(Line ray,
int count,
IntBuffer indices,
DoubleBuffer vertices,
Vec4 referenceCenter) |
protected static void |
SegmentPlaneRenderer.putVertex3(Vec4 vec,
int position,
DoubleBuffer vertices) |
void |
SegmentPlaneAttributes.GeometryAttributes.setOffset(Vec4 vec4) |
void |
SegmentPlaneAttributes.LabelAttributes.setOffset(Vec4 vec4) |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
WWOMeasureDisplay.computeAnnotationPosition(Position pos,
WWOMeasureTool mt) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
RadarVolume.ShapeData.centerPoint |
protected Vec4 |
TerrainIntersections.AppFrame.referencePoint |
Modifier and Type | Method and Description |
---|---|
Vec4[] |
KeepingObjectsInView.ViewController.computeViewLookAtForScene(View view) |
protected Vec4 |
AirspaceBuilder.AirspaceBuilderController.getPoint(LatLon latlon,
double elevation) |
protected Vec4 |
AirspaceBuilder.AirspaceBuilderController.getSurfacePoint(LatLon latlon,
double elevation) |
Modifier and Type | Method and Description |
---|---|
Position |
KeepingObjectsInView.ViewController.computePositionFromPoint(Vec4 point) |
protected boolean |
RadarVolumeExample.AppFrame.isBelowMinimumElevation(Position position,
Vec4 cartesianOrigin) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
AnalyticSurface.referencePoint |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
AnalyticSurface.computeSurfacePoint(DrawContext dc,
Angle lat,
Angle lon,
double value) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
KMLOrbitViewController.EyePositionAnimator.forward |
Modifier and Type | Method and Description |
---|---|
protected Position |
KMLOrbitViewController.computeCenterPosition(Position eyePosition,
Vec4 forward,
Angle pitch,
int altitudeMode)
Compute a center position from an eye position and an orientation.
|
Constructor and Description |
---|
EyePositionAnimator(Interpolator interpolator,
Position beginCenter,
Position endCenter,
Position endEyePosition,
Vec4 forward,
Angle pitch,
PropertyAccessor.PositionAccessor propertyAccessor,
int altitudeMode)
Create a new animator.
|
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
LinesOfSight.AppFrame.referencePoint |
protected Vec4 |
LineIntersector.referencePoint |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
PointGrid.computePoint(DrawContext dc,
Position pos) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
ExtrudedPolygonEditor.ControlPointMarker.point |
protected Vec4 |
RigidShapeEditor.ControlPointMarker.point |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
ExtrudedPolygonEditor.computeAnnotationPosition(Position pos) |
protected Vec4 |
RigidShapeEditor.computeAnnotationPosition(Position pos) |
Vec4 |
ExtrudedPolygonEditor.ControlPointMarker.getPoint() |
Vec4 |
RigidShapeEditor.ControlPointMarker.getPoint() |
protected Vec4 |
ExtrudedPolygonEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|
protected Vec4 |
RigidShapeEditor.intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.
|
Constructor and Description |
---|
ControlPointMarker(String type,
Position position,
Vec4 point,
MarkerAttributes attrs,
int index) |
ControlPointMarker(String type,
Position position,
Vec4 point,
MarkerAttributes attrs,
int index) |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
Cube.OrderedCube.placePoint
Cartesian position of the cube, computed from
Cube.position . |
Modifier and Type | Field and Description |
---|---|
protected Vec4 |
ExtentVisibilitySupport.ScreenExtent.modelReferencePoint |
Modifier and Type | Method and Description |
---|---|
protected Vec4 |
ExtentVisibilitySupport.computeCenterPoint(Globe globe,
double verticalExaggeration,
Iterable<? extends Extent> modelExtents,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePoint(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends Extent> modelExtents,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForModelExtents(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
Iterable<? extends Extent> modelExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenBounds(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenExtents(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenReferencePoints(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
LabeledPath.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,
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 Vec4 |
LabeledPath.getLabelPoint(DrawContext dc)
Returns the label's model-coordinate point form the path's location iterable, applying the path's altitude mode.
|
Vec4 |
LayerManagerLayer.getLocationCenter()
Returns the current layer manager location.
|
Vec4 |
LayerManagerLayer.getLocationOffset()
Returns the current location offset.
|
Vec4 |
ExtentVisibilitySupport.ScreenExtent.getModelReferencePoint()
Returns the model coordinate reference point.
|
protected static Vec4 |
ViewVolumeRenderer.worldPointFromScreenPoint(DrawContext dc,
Rectangle viewport,
Matrix modelview,
Matrix projection,
Vec4 screenPoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
DirectedPath.computeArrowheadGeometry(DrawContext dc,
int poleA,
int poleB,
Vec4 polePtA,
Vec4 polePtB,
FloatBuffer buffer,
Path.PathData pathData)
Compute the geometry of a direction arrow between two points.
|
protected Vec4 |
ExtentVisibilitySupport.computeEyePoint(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends Extent> modelExtents,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForModelExtents(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
Iterable<? extends Extent> modelExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenBounds(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenExtents(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
protected Vec4 |
ExtentVisibilitySupport.computeEyePointForScreenReferencePoints(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents) |
Vec4[] |
ExtentVisibilitySupport.computeViewLookAtContainingExtents(Globe globe,
double verticalExaggeration,
Vec4 eyePoint,
Vec4 centerPoint,
Vec4 upVector,
Angle fieldOfView,
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 void |
ViewVolumeRenderer.drawLine(DrawContext dc,
Vec4 a,
Vec4 b) |
protected static void |
ViewVolumeRenderer.drawQuad(DrawContext dc,
Vec4 ll,
Vec4 lr,
Vec4 ur,
Vec4 ul) |
protected static void |
ViewVolumeRenderer.drawTriangle(DrawContext dc,
Vec4 a,
Vec4 b,
Vec4 c) |
protected boolean |
DirectedPath.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 void |
LabeledPath.setLabelLocation(DrawContext dc,
Vec4 screenPoint)
Places the label at the specified screen point.
|
void |
LayerManagerLayer.setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the layer manager, relative to it's frame center.
|
void |
LayerManagerLayer.setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer manager frame position on the screen.
|
protected String |
ExtentVisibilitySupport.validate(Vec4 eye,
Vec4 center,
Vec4 up,
Angle fieldOfView,
Rectangle viewport,
double nearClipDistance,
double farClipDistance) |
protected static Vec4 |
ViewVolumeRenderer.worldPointFromScreenPoint(DrawContext dc,
Rectangle viewport,
Matrix modelview,
Matrix projection,
Vec4 screenPoint) |
Constructor and Description |
---|
ScreenExtent(Vec4 modelReferencePoint,
Rectangle screenBounds)
Constructs a new ScreenExtent with the specified model coordinate reference point and screen coordinate
bounding box.
|