public interface Point extends SimpleGeometry
Modifier and Type | Method and Description |
---|---|
Array |
getData()
Get the data associated with this point
|
Point |
getNext()
Retrieves the next point within a multipoint if any
|
Point |
getPrev()
Retrieves the previous point within a multipoint if any
|
double |
getX()
Return the x coordinate for the point.
|
double |
getY()
Return the y coordinate for the point
|
void |
setData(Array arr)
Sets the data array of the point.
|
void |
setNext(Point next)
Sets the next point in a multipoint
|
void |
setPrev(Point prev)
Set the previous point in a multipoint
|
Point |
setupPoint(NetcdfDataset dataset,
Variable variable,
int index)
Given a dataset, construct a point from the variable which holds points
and the index as given.
|
void |
setX(double x)
Sets the x coordinate of the point.
|
void |
setY(double y)
Set the y coordinate of the point.
|
getBBLower, getBBUpper
Array getData()
getData
in interface SimpleGeometry
double getX()
double getY()
Point getNext()
Point getPrev()
void setData(Array arr)
setData
in interface SimpleGeometry
arr
- the array which will be the points new data arrayvoid setX(double x)
x
- coordinate of the pointvoid setY(double y)
y
- coordinate of the pointvoid setNext(Point next)
void setPrev(Point prev)
Point setupPoint(NetcdfDataset dataset, Variable variable, int index)
dataset
- Where the point variable residesvariable
- Which holds point informationindex
- for Indexing within the polygon variable