|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVerticalCoordinateSystemGEN
Provides access to properties of a vertical coordinate system.
A vertical coordinate system has two types. It can either be gravity-related, which requires a VerticalDatum; or ellipsoid/spheroid-based which requires a horizontal Datum. A horizontal Datum is the same as one used for a geographic coordinate system. It has a linear unit of measure. A VCS has two parameters. The positiveDirection value defines whether the vertical coordinate system has positive values 'up', for heights, or 'down', for depths. Use -1 for positive depths. The verticalShift parameter is a way to identify this VCS as offset from some other known surface. For example, you might know that a dataset's depths are referenced to mean lower low water (a tidal level). You might also know that for this dataset, mean lower low water is 1.23 meters 'down' from local mean sea level. The VCS could be defined for mean sea level but with a verticalShift of -1.23 to shift the 'zero' level to mean lower low water.
You can use ISpatialReferenceFactory3 to create a predefined VCS or use the IVerticalCoordinateSystemEdit interface to create a custom VCS.
Method Summary | |
---|---|
ILinearUnit |
getCoordinateUnit()
The linear unit of measure for the vertical coordinate system. |
IHVDatum |
getDatum()
The vertical or horizontal datum of the vertical coordinate system. |
void |
getParameters(IParameter[][] parameters)
Retrieves the PositiveDirection and VerticalShift parameters into an array. |
int |
getPositiveDirection()
A parameter that determines whether the coordinate system is positive 'up' or 'down'. |
String |
getUsage()
The usage notes of a vertical coordinate system. |
double |
getVerticalShift()
An offset parameter that changes the origin of the vertical coordinate system. |
void |
setCoordinateUnit(ILinearUnit unit)
The linear unit of measure for the vertical coordinate system. |
void |
setVerticalShift(double vshift)
An offset parameter that changes the origin of the vertical coordinate system. |
Method Detail |
---|
String getUsage() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHVDatum getDatum() throws IOException, AutomationException
Retrieves the vertical or horizontal datum of the vertical coordinate system as IHVDatum.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILinearUnit getCoordinateUnit() throws IOException, AutomationException
The unit of measure of the vertical coordinate system. The unit is always be a linear unit such as meters.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCoordinateUnit(ILinearUnit unit) throws IOException, AutomationException
unit
- A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getVerticalShift() throws IOException, AutomationException
The verticalShift parameter is a way to identify this VCS as offset from some other known surface. For example, you might know that a dataset's depths are referenced to mean lower low water (a tidal level). You might also know that for this dataset, mean lower low water is 1.23 meters 'down' from local mean sea level. The VCS could be defined for mean sea level but with a verticalShift of -1.23 to shift the 'zero' level to mean lower low water.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVerticalShift(double vshift) throws IOException, AutomationException
vshift
- The vshift (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPositiveDirection() throws IOException, AutomationException
The positiveDirection value defines whether the vertical coordinate system has positive values 'up', for heights, or 'down', for depths. Use -1 for positive depths.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getParameters(IParameter[][] parameters) throws IOException, AutomationException
Returns the PositiveDirection and VerticalShift parameters in an array of IParameters.
parameters
- A reference to a com.esri.arcgis.geometry.IParameter array (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |