C# Class ESRIUK.DynamicLocators.BNGLocator.TranslateGridReference

Class from Productivity Suite that does BNG Transformation and Grid Lookup
Afficher le fichier Open project: EsriUK/dynamic-locator-sdk Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetExtents() public méthode

Gets the extents from the "in_ngr_coord" string.
public GetExtents ( string in_coord ) : Envelope
in_coord string The in_ngr_coord.
Résultat Envelope

GetGridReference() public méthode

Accecpts a point and converts it to a UK grid reference, this is not 100% accurate
public GetGridReference ( IPoint location ) : string
location IPoint
Résultat string

TranslateGridReference() public méthode

public TranslateGridReference ( ) : System
Résultat System