|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.surfacepatches.DefaultSphere
public class DefaultSphere
TODO add class documentation here.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.GriddedSurfacePatch |
---|
GriddedSurfacePatch.GriddedSurfaceType |
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch |
---|
SurfacePatch.SurfacePatchType |
Constructor Summary | |
---|---|
DefaultSphere(List<Points> grid)
|
|
DefaultSphere(List<Points> grid,
int rows,
int columns)
|
Method Summary | |
---|---|
Measure |
getArea(Unit requestedBaseUnit)
Returns the area covered by the patch. |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the patch is embedded in. |
GriddedSurfacePatch.GriddedSurfaceType |
getGriddedSurfaceType()
Must always return GriddedSurfacePatch.GriddedSurfaceType.SPHERE . |
int |
getNumColumns()
Returns the number of columns in the parameter grid. |
int |
getNumRows()
Returns the number of rows in the parameter grid. |
Points |
getRow(int rownum)
Returns the specified row of the parameter grid. |
List<Points> |
getRows()
Returns all rows of the parameter grid. |
SurfacePatch.SurfacePatchType |
getSurfacePatchType()
Returns the type of surface patch. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSphere(List<Points> grid)
public DefaultSphere(List<Points> grid, int rows, int columns)
Method Detail |
---|
public GriddedSurfacePatch.GriddedSurfaceType getGriddedSurfaceType()
Sphere
GriddedSurfacePatch.GriddedSurfaceType.SPHERE
.
getGriddedSurfaceType
in interface GriddedSurfacePatch
getGriddedSurfaceType
in interface Sphere
GriddedSurfacePatch.GriddedSurfaceType.SPHERE
public int getNumColumns()
GriddedSurfacePatch
getNumColumns
in interface GriddedSurfacePatch
public int getNumRows()
GriddedSurfacePatch
getNumRows
in interface GriddedSurfacePatch
public Points getRow(int rownum)
GriddedSurfacePatch
getRow
in interface GriddedSurfacePatch
rownum
- row to be returned
public List<Points> getRows()
GriddedSurfacePatch
getRows
in interface GriddedSurfacePatch
public Measure getArea(Unit requestedBaseUnit)
SurfacePatch
getArea
in interface SurfacePatch
public int getCoordinateDimension()
SurfacePatch
getCoordinateDimension
in interface SurfacePatch
public SurfacePatch.SurfacePatchType getSurfacePatchType()
SurfacePatch
getSurfacePatchType
in interface SurfacePatch
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |