Uses of Class
mil.nga.grid.features.Point
-
Packages that use Point Package Description mil.nga.grid mil.nga.grid.features mil.nga.grid.tile -
-
Uses of Point in mil.nga.grid
Methods in mil.nga.grid that return Point Modifier and Type Method Description Point
Label. getCenter()
Get the center pointstatic Point
GridUtils. intersection(Line line1, Line line2)
Get the point intersection between two linesstatic Point
GridUtils. intersection(Point line1Point1, Point line1Point2, Point line2Point1, Point line2Point2)
Get the point intersection between end points of two linesstatic Point
GridUtils. toUnit(double longitude, double latitude, Unit unit)
Convert a coordinate to the unit, assumes the coordinate is in the opposite unitstatic Point
GridUtils. toUnit(Unit fromUnit, double longitude, double latitude, Unit toUnit)
Convert a coordinate from a unit to another unitMethods in mil.nga.grid with parameters of type Point Modifier and Type Method Description static Hemisphere
Hemisphere. from(Point point)
Get the hemisphere for the pointstatic Pixel
GridUtils. getPixel(int width, int height, Bounds bounds, Point point)
Get the pixel where the point fits into the boundsstatic Point
GridUtils. intersection(Point line1Point1, Point line1Point2, Point line2Point1, Point line2Point2)
Get the point intersection between end points of two linesvoid
Label. setCenter(Point center)
Set the center pointConstructors in mil.nga.grid with parameters of type Point Constructor Description Label(String name, Point center, Bounds bounds)
Constructor -
Uses of Point in mil.nga.grid.features
Methods in mil.nga.grid.features that return Point Modifier and Type Method Description Point
Point. copy()
Copy the pointstatic Point
Point. degrees(double longitude, double latitude)
Create a point in degreesstatic Point
Point. degreesToMeters(double longitude, double latitude)
Create a point converting the degrees coordinate to metersPoint
Bounds. getCentroid()
Point
Bounds. getNortheast()
Get the northeast coordinatePoint
Bounds. getNorthwest()
Get the northwest coordinatePoint
Line. getPoint1()
Get the first pointPoint
Line. getPoint2()
Get the second pointPoint
Bounds. getSoutheast()
Get the southeast coordinatePoint
Bounds. getSouthwest()
Get the southwest coordinatePoint
Line. intersection(Line line)
Get the intersection between this line and the provided linestatic Point
Point. meters(double longitude, double latitude)
Create a point in metersstatic Point
Point. metersToDegrees(double longitude, double latitude)
Create a point converting the meters coordinate to degreesstatic Point
Point. point(double longitude, double latitude)
Create a point with default degree unitstatic Point
Point. point(double longitude, double latitude, Unit unit)
Create a pointstatic Point
Point. point(Point point)
Copy a pointstatic Point
Point. point(Point point, Unit unit)
Create a pointPoint
Point. toDegrees()
Convert to degreesPoint
Point. toMeters()
Convert to metersstatic Point
Point. toUnit(double longitude, double latitude, Unit unit)
Create a point from a coordinate in an opposite unit to another unitPoint
Point. toUnit(Unit unit)
Convert to the unitstatic Point
Point. toUnit(Unit fromUnit, double longitude, double latitude, Unit toUnit)
Create a point from a coordinate in a unit to another unitMethods in mil.nga.grid.features with parameters of type Point Modifier and Type Method Description static Bounds
Bounds. bounds(Point southwest, Point northeast)
Create boundsstatic Line
Line. line(Point point1, Point point2)
Create a linestatic Point
Point. point(Point point)
Copy a pointvoid
Line. setPoint1(Point point1)
Set the first pointvoid
Line. setPoint2(Point point2)
Set the second pointvoid
Line. setPoints(Point point1, Point point2)
Set the pointsConstructors in mil.nga.grid.features with parameters of type Point Constructor Description Bounds(Point southwest, Point northeast)
ConstructorLine(Point point1, Point point2)
ConstructorPoint(Point point)
Copy constructor -
Uses of Point in mil.nga.grid.tile
Methods in mil.nga.grid.tile with parameters of type Point Modifier and Type Method Description Pixel
GridTile. getPixel(Point point)
Get the point pixel location in the tile
-