| Package | Description |
|---|---|
| gov.usgs.earthquake.nshmp.geo |
Geographic data classes and utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static LocationVector |
Locations.bisect(Location p1,
Location p2,
Location p3)
Method returns a unit
LocationVector that bisects the angle defined
by the line segments p2p1
and p2p3. |
static LocationVector |
LocationVector.create(double azimuth,
double horizontal,
double vertical)
Initializes a new
LocationVector with the supplied values. |
static LocationVector |
LocationVector.create(Location p1,
Location p2)
Returns the
LocationVector describing the move from one
Location to another. |
static LocationVector |
LocationVector.createWithPlunge(double azimuth,
double plunge,
double length)
Creates a new
LocationVector with horizontal and vertical
components derived from the supplied plunge and length. |
static LocationVector |
LocationVector.reverseOf(LocationVector v)
Returns a copy of the supplied vector with azimuth and vertical components
reversed.
|
| Modifier and Type | Method and Description |
|---|---|
static Location |
Locations.location(Location p,
LocationVector d)
Computes a
Location given an origin point and a
LocationVector. |
static LocationVector |
LocationVector.reverseOf(LocationVector v)
Returns a copy of the supplied vector with azimuth and vertical components
reversed.
|
LocationList |
LocationList.translate(LocationVector vector)
Return a new
LocationList with each Location translated
according to the supplied vector. |