## Uses of Class
org.apache.lucene.spatial.geometry.shape.Point2D

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

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

    Fields in org.apache.lucene.spatial.geometry.shape declared as Point2D
    Modifier and Type | Field and Description
    --- | ---
    `Point2D` | LineSegment.`A`
    `Point2D` | LineSegment.`B`

    Methods in org.apache.lucene.spatial.geometry.shape that return Point2D
    Modifier and Type | Method and Description
    --- | ---
    `Point2D` | Ellipse.`centroid()`
    `Point2D` | Rectangle.`centroid()`
    `Point2D` | Geometry2D.`centroid()` Return the centroid
    `Point2D` | Rectangle.`getMaxPoint()`
    `Point2D` | Rectangle.`getMinPoint()`

    Methods in org.apache.lucene.spatial.geometry.shape with parameters of type Point2D
    Modifier and Type | Method and Description
    --- | ---
    `void` | Point2D.`add(Point2D a)`
    `boolean` | Ellipse.`contains(Point2D pt)`
    `boolean` | Rectangle.`contains(Point2D p)`
    `boolean` | Geometry2D.`contains(Point2D p)` Does the shape contain the given point
    `double` | LineSegment.`distance(Point2D P, Point2D closestPt)` Finds the distance of a specified point from the line segment and the closest point on the segment to the specified point.
    `int` | Ellipse.`intersect(LineSegment seg, Point2D pt0, Point2D pt1)` Determines if a line segment intersects the ellipse and if so finds the point(s) of intersection.
    `void` | Point2D.`set(Point2D p1)`

    Constructors in org.apache.lucene.spatial.geometry.shape with parameters of type Point2D
    Constructor and Description
    `Ellipse(Point2D p1, Point2D p2, double angle)` Constructor given bounding rectangle and a rotation.
    `LineSegment(Point2D p1, Point2D p2)`
    `Point2D(Point2D other)`
    `Rectangle(Point2D ptMin, Point2D ptMax)`
    `Vector2D(Point2D p)` Create a vector from the origin of the coordinate system to the given point
    `Vector2D(Point2D from, Point2D to)` Create a vector from one point to another

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