This document is archived and information here might be outdated.  Recommended version.


IProjectedCoordinateSystem2.GetShiftedHorizon Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IProjectedCoordinateSystem2.GetShiftedHorizon Method

Returns the horizon polygon, shifted once or twice, west/east of the 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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IProjectedCoordinateSystem2 Interface