## Uses of Class
org.apache.lucene.spatial.geometry.LatLng

- Packages that use LatLng
  Package | Description
  --- | ---
  org.apache.lucene.spatial.geometry |
  org.apache.lucene.spatial.geometry.shape |

- - ### Uses of LatLng in org.apache.lucene.spatial.geometry

    Subclasses of LatLng in org.apache.lucene.spatial.geometry
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FixedLatLng` NOTE: This API is still in flux and might change in incompatible ways in the next release.
    `class` | `FloatLatLng` NOTE: This API is still in flux and might change in incompatible ways in the next release.

    Methods in org.apache.lucene.spatial.geometry that return LatLng
    Modifier and Type | Method and Description
    --- | ---
    `LatLng` | FixedLatLng.`calculateMidpoint(LatLng other)`
    `LatLng` | FloatLatLng.`calculateMidpoint(LatLng other)`
    `abstract LatLng` | LatLng.`calculateMidpoint(LatLng other)` Calculate the midpoint between this point an another.
    `LatLng` | FixedLatLng.`copy()`
    `LatLng` | FloatLatLng.`copy()`
    `abstract LatLng` | LatLng.`copy()`
    `static LatLng` | LatLng.`fromCartesian(CartesianPoint pt)` The inverse of toCartesian().
    `LatLng` | FixedLatLng.`normalize()`
    `LatLng` | FloatLatLng.`normalize()`
    `abstract LatLng` | LatLng.`normalize()`

    Methods in org.apache.lucene.spatial.geometry with parameters of type LatLng
    Modifier and Type | Method and Description
    --- | ---
    `double` | LatLng.`arcDistance(LatLng ll2)` Calculates the distance between two lat/lng's in miles.
    `double` | LatLng.`arcDistance(LatLng ll2, DistanceUnits lUnits)` Calculates the distance between two lat/lng's in miles or meters.
    `LatLng` | FixedLatLng.`calculateMidpoint(LatLng other)`
    `LatLng` | FloatLatLng.`calculateMidpoint(LatLng other)`
    `abstract LatLng` | LatLng.`calculateMidpoint(LatLng other)` Calculate the midpoint between this point an another.

    Constructors in org.apache.lucene.spatial.geometry with parameters of type LatLng
    Constructor and Description
    `FixedLatLng(LatLng ll)`
    `FloatLatLng(LatLng ll)`

  - ### Uses of LatLng in org.apache.lucene.spatial.geometry.shape

    Methods in org.apache.lucene.spatial.geometry.shape that return LatLng
    Modifier and Type | Method and Description
    --- | ---
    `LatLng` | LLRect.`getLowerLeft()`
    `LatLng` | LLRect.`getMidpoint()`
    `LatLng` | LLRect.`getUpperRight()`

    Methods in org.apache.lucene.spatial.geometry.shape with parameters of type LatLng
    Modifier and Type | Method and Description
    --- | ---
    `static LLRect` | LLRect.`createBox(LatLng center, double widthMi, double heightMi)` Approximates a box centered at the given point with the given width and height in miles.

    Constructors in org.apache.lucene.spatial.geometry.shape with parameters of type LatLng
    Constructor and Description
    `LLRect(LatLng ll, LatLng ur)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.