Uses of Class
ucar.unidata.data.point.LatLonPoint2D
Packages that use LatLonPoint2D
Package
Description
DataSource classes and utilities for point (e.g., surface) data.
-
Uses of LatLonPoint2D in ucar.unidata.data.point
Fields in ucar.unidata.data.point with type parameters of type LatLonPoint2DModifier and TypeFieldDescriptionstatic final Comparator
<LatLonPoint2D> LatLonPoint2D.LAT_ORDER
Compares two points by x-coordinate.static final Comparator
<LatLonPoint2D> LatLonPoint2D.LON_ORDER
Compares two points by y-coordinate.static final Comparator
<LatLonPoint2D> LatLonPoint2D.R_ORDER
Compares two points by polar radius.Methods in ucar.unidata.data.point that return types with arguments of type LatLonPoint2DModifier and TypeMethodDescriptionLatLonPoint2D.atan2Order()
Compares two points by atan2() angle (between –π and π) with respect to this point.LatLonPoint2D.distanceToOrder()
Compares two points by distance to this point.PointUtil.GrahamScan.hull()
LatLonPoint2D.polarOrder()
Compares two points by polar angle (between 0 and 2π) with respect to this point.Methods in ucar.unidata.data.point with parameters of type LatLonPoint2DModifier and TypeMethodDescriptionstatic double
LatLonPoint2D.area2
(LatLonPoint2D a, LatLonPoint2D b, LatLonPoint2D c) Returns twice the signed area of the triangle a-b-c.static int
LatLonPoint2D.ccw
(LatLonPoint2D a, LatLonPoint2D b, LatLonPoint2D c) Returns true if a→b→c is a counterclockwise turn.int
LatLonPoint2D.compareTo
(LatLonPoint2D that) Compares two points by y-coordinate, breaking ties by x-coordinate.double
LatLonPoint2D.distanceSquaredTo
(LatLonPoint2D that) Returns the square of the Euclidean distance between this point and that point.double
LatLonPoint2D.distanceTo
(LatLonPoint2D that) Returns the Euclidean distance between this point and that point.void
LatLonPoint2D.drawTo
(LatLonPoint2D that) Plot a line from this point to that point using standard draw.Constructors in ucar.unidata.data.point with parameters of type LatLonPoint2D