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