public class CellFactory
extends java.lang.Object
Constructor and Description |
---|
CellFactory() |
Modifier and Type | Method and Description |
---|---|
Cell |
buildCellFromRealCoordinates(int cellNumber,
double centerLongitude,
double centerLatitude,
double... coordinates)
Builds cell from real geographic coordinates (-180 to 180)
|
Cell |
buildCellFromSplittedCsv(int cellNumber,
double centerLongitude,
double centerLatitude,
double... coordinates)
Builds cell from csv coordinates, with longitude modified for cells over 180 meridian (see class Csv)
|
Cell |
buildPolarCell(int cellNumber,
double centerLongitude,
double centerLatitude)
Builds a polar coordinate.
|
public Cell buildCellFromSplittedCsv(int cellNumber, double centerLongitude, double centerLatitude, double... coordinates)
cellNumber
- isea cell numbercenterLongitude
- real longitude of center cellcenterLatitude
- real latitude of center cellcoordinates
- lon,lat ,lon,lat with longitude modified for cells over 180 meridianpublic Cell buildCellFromRealCoordinates(int cellNumber, double centerLongitude, double centerLatitude, double... coordinates)
cellNumber
- isea cell numbercenterLongitude
- real longitude of center cellcenterLatitude
- real latitude of center cellcoordinates
- real coordinates lon,lat ,lon,latpublic Cell buildPolarCell(int cellNumber, double centerLongitude, double centerLatitude)
cellNumber
- isea cell number of north or south cellcenterLongitude
- longitude 0centerLatitude
- -90 or 90