public class SimpleGeometryCS extends Object
| Constructor and Description |
|---|
SimpleGeometryCS(SimpleGeometryCSBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
List<Dimension> |
getDimensions()
Get a list of all dimensions in this dataset.
|
GeometryType |
getGeometryType(String name)
Given a variable name, returns the type of geometry which that variable is holding
|
Line |
getLine(String name,
int index)
Given a Variable name and a geometry index
returns a Line
|
List<Line> |
getLines(String name,
int indexBegin,
int indexEnd)
Given a Variable name and a beginning index and end index, returns a list of
lines (inclusive on both sides)
|
Point |
getPoint(String name,
int index)
Given a Variable name and a geometry index
returns a Point
|
List<Point> |
getPoints(String name,
int indexBegin,
int indexEnd)
Given a Variable name and a beginning index and end index
returns a list of points (inclusive on both sides)
|
Polygon |
getPolygon(String name,
int index)
Given a Variable name and a geometry index
returns a Polygon
|
List<Polygon> |
getPolygons(String name,
int indexBegin,
int indexEnd)
Given a Variable name and a beginning index and end index, returns a list of
polygon (inclusive on both sides)
|
List<CoordinateAxis> |
getSimpleGeometryID()
Get a list of all simple geometry ID axes.
|
List<CoordinateAxis> |
getSimpleGeometryX()
Get a list of all simple geometry X axes.
|
List<CoordinateAxis> |
getSimpleGeometryY()
Get a list of all simple geometry Y axes
|
List<CoordinateAxis> |
getSimpleGeometryZ()
Get a list of all simple geometry Z axes.
|
static SimpleGeometryCS |
makeSGCoordSys(Formatter sbuff,
CoordinateSystem cs,
VariableEnhanced v) |
public SimpleGeometryCS(SimpleGeometryCSBuilder builder)
public GeometryType getGeometryType(String name)
name - name of the variablepublic List<CoordinateAxis> getSimpleGeometryX()
public List<CoordinateAxis> getSimpleGeometryY()
public List<CoordinateAxis> getSimpleGeometryZ()
public List<CoordinateAxis> getSimpleGeometryID()
public List<Dimension> getDimensions()
public Polygon getPolygon(String name, int index)
name - of the data variableindex - within the variablepublic List<Polygon> getPolygons(String name, int indexBegin, int indexEnd)
name - indexBegin - indexEnd - public Line getLine(String name, int index)
name - of the data variableindex - within the variablepublic List<Line> getLines(String name, int indexBegin, int indexEnd)
name - indexBegin - indexEnd - public Point getPoint(String name, int index)
name - of the data variableindex - within the variablepublic List<Point> getPoints(String name, int indexBegin, int indexEnd)
name - of the data variableindexBegin - within the variableindexEnd - within the variablepublic static SimpleGeometryCS makeSGCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v)