Package | Description |
---|---|
com.metsci.glimpse.util.geo.projection | |
com.metsci.glimpse.util.vector |
Vector classes for representing 2 and 3 dimensional vectors.
|
Modifier and Type | Method and Description |
---|---|
Vector2d |
KinematicVector2d.getPosition() |
Vector2d |
TangentPlane.getTangentPointOnPlane()
Tangent plane coordinates (x,y) of point on the plane tangent to reference LatLon.
|
Vector2d |
KinematicVector2d.getVelocity() |
Vector2d |
GeoProjection.project(LatLonGeo latLon)
Convert LatLon to (nearly) equivalent projected x,y position.
|
Vector2d |
MercatorProjection.project(LatLonGeo latLon) |
Vector2d |
TangentPlane.project(LatLonGeo latLon) |
Vector2d |
GeoProjection.reprojectFrom(double x,
double y,
GeoProjection fromProjection)
Reproject an x,y position from a previous projection to this projection.
|
Vector2d |
MercatorProjection.reprojectFrom(double x,
double y,
GeoProjection fromProjection) |
Vector2d |
TangentPlane.reprojectFrom(double x,
double y,
GeoProjection fromProjection) |
Constructor and Description |
---|
KinematicVector2d(Vector2d pos,
Vector2d vel) |
Modifier and Type | Method and Description |
---|---|
static Vector2d |
Vector2d.createPolar(double radius,
double theta)
Create Vector2d from polar coordinates.
|
static Vector2d |
Vector2d.createPolarTranslated(double radius,
double theta,
double translateX,
double translateY)
Create Vector2d from polar coordinates with given translation of origin.
|
static Vector2d |
Vector2d.fromArray(double[] coords) |
Vector2d |
Vector3d.getXY() |
static Vector2d |
Vector2d.linearCombination(double[] a,
Vector2d[] w) |
static Vector2d |
Vector2d.linearCombination(double a1,
Vector2d v1,
double a2,
Vector2d v2) |
Vector2d |
Vector2d.minus(Vector2d v) |
Vector2d |
Vector2d.normalized()
Returns normalized (rescaled to norm = 1) version of this vector.
|
Vector2d |
Vector2d.normalizedLenient()
Returns normalized (rescaled to norm = 1) version of this vector.
|
Vector2d |
Vector2d.perpendicularVector()
Returns a vector perpendicular to this one, with same norm.
|
Vector2d |
Vector2d.plus(Vector2d v) |
Vector2d |
Vector2d.projectionOnto(Vector2d v,
boolean isLenient)
Returns the projection of this vector onto the vector v.
|
Vector2d |
Vector2d.projectOnto(Vector2d v)
Returns the projection of this vector onto the vector v.
|
Vector2d |
Vector2d.rotatedAboutOriginBy(double theta) |
Vector2d |
Vector2d.scalarProduct(double alpha) |
Vector2d |
Vector2d.scaledBy(double scaleFactor) |
Modifier and Type | Method and Description |
---|---|
double |
Vector2d.angleWith(Vector2d v)
Returns the conical (unsigned) angle between this vector and vector v.
|
double |
Vector2d.cosAngleWith(Vector2d v)
Returns cosine of the angle between this vector and vector v.
|
double |
Vector2d.distance(Vector2d v) |
double |
Vector3d.distanceOnXYPlane(Vector2d v) |
double |
Vector3d.distanceOnXYPlaneSquared(Vector2d v) |
double |
Vector2d.distanceSquared(Vector2d v) |
double |
Vector2d.dotProduct(Vector2d v) |
static Vector2d |
Vector2d.linearCombination(double[] a,
Vector2d[] w) |
static Vector2d |
Vector2d.linearCombination(double a1,
Vector2d v1,
double a2,
Vector2d v2) |
Vector2d |
Vector2d.minus(Vector2d v) |
Vector2d |
Vector2d.plus(Vector2d v) |
Vector2d |
Vector2d.projectionOnto(Vector2d v,
boolean isLenient)
Returns the projection of this vector onto the vector v.
|
Vector2d |
Vector2d.projectOnto(Vector2d v)
Returns the projection of this vector onto the vector v.
|
Copyright © 2013 Metron, Inc.. All rights reserved.