This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IProjectedCoordinateSystem2 Interface > IProjectedCoordinateSystem2.GetHorizon Method (ArcObjects .NET 10.5 SDK) |
Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.
[Visual Basic .NET] Public Function GetHorizon ( _ ByRef horizonEnvelope As WKSEnvelope, _ ByRef Inclusive As Boolean _ ) As IGeometry
[C#] public IGeometry GetHorizon ( ref WKSEnvelope horizonEnvelope, ref bool Inclusive );
[C++]
HRESULT GetHorizon(
_WKSEnvelope* horizonEnvelope,
VARIANT_BOOL* Inclusive,
IGeometry** ppHorizon
);
[C++]
Parameters horizonEnvelope [out]
horizonEnvelope is a parameter of type _WKSEnvelope Inclusive [out] Inclusive is a parameter of type VARIANT_BOOL ppHorizon [out, retval]
ppHorizon is a parameter of type IGeometry
GetHorizon returns, in geographic coordinate system coordinates and unit of measure, the valid geometry of a projected coordinate system. The method also returns whether the geometry should be considered inclusive or exclusive, and its envelope.