C# Класс ESRIUK.DynamicLocators.BNGLocator.TranslateGridReference

Class from Productivity Suite that does BNG Transformation and Grid Lookup
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetExtents ( string in_coord ) : Envelope

Gets the extents from the "in_ngr_coord" string.

GetGridReference ( IPoint location ) : string

Accecpts a point and converts it to a UK grid reference, this is not 100% accurate

TranslateGridReference ( ) : System

Приватные методы

Метод Описание
ClassifyTwoLetters ( string letterRef ) : System.Point

Determine what Grid Ref letters match the coordinates

IsInteger ( string stringValue ) : bool

Check if a value is an Int

MakeRectangle ( double X, double Y, double width, double height ) : Envelope

Create an Envelope

ShiftCoordinate ( System.Point &point, string numbers ) : int

Shifts the coordinate.

loadArray ( ) : void

Описание методов

GetExtents() публичный Метод

Gets the extents from the "in_ngr_coord" string.
public GetExtents ( string in_coord ) : Envelope
in_coord string The in_ngr_coord.
Результат Envelope

GetGridReference() публичный Метод

Accecpts a point and converts it to a UK grid reference, this is not 100% accurate
public GetGridReference ( IPoint location ) : string
location IPoint
Результат string

TranslateGridReference() публичный Метод

public TranslateGridReference ( ) : System
Результат System