This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IProjectedCoordinateSystem4GEN Interface > IProjectedCoordinateSystem4GEN.GetShiftedHorizon Method (ArcObjects .NET 10.4 SDK) |
Returns the horizon polygon, shifted once or twice, west/east of standard horizon for a negative/positive shift.
[Visual Basic .NET] Public Function GetShiftedHorizon ( _ ByVal shift As Integer _ ) As IGeometry
[C#] public IGeometry GetShiftedHorizon ( int shift );
[C++]
HRESULT GetShiftedHorizon(
Long shift,
IGeometry** ppHorizon
);
[C++]
Parameters shift shift is a parameter of type Long ppHorizon [out, retval]
ppHorizon is a parameter of type IGeometry
The standard horizon is the valid area of a projected coordinate system, but in geographic coordinate system coordinates and unit of measure. The standard horizon usually has longitude values between +/-180 (or equivalent). If you use -2, -1, 1 or 2 for the shift value, GetShiftedHorizon will translate the horizon by 360 degrees to the left or right.