C# Class TileCook.GridSet

Inheritance: IGridSet
显示文件 Open project: jbrwn/tc

Public Methods

Method Description
CoordToEnvelope ( Coord coord ) : Envelope
GridHeight ( int z ) : int
GridSet ( string name, string srs, Envelope envelope, IList resolutions, int tileWidth = 256, int tileHeight = 256, double pixelSize = .00028, bool topOrigin = false ) : System
GridWidth ( int z ) : int
PointToCoord ( Point p, int z ) : Coord
Scale ( int z ) : double
SetY ( Coord coord ) : Coord

Private Methods

Method Description
FlipY ( Coord coord ) : Coord

Method Details

CoordToEnvelope() public method

public CoordToEnvelope ( Coord coord ) : Envelope
coord Coord
return Envelope

GridHeight() public method

public GridHeight ( int z ) : int
z int
return int

GridSet() public method

public GridSet ( string name, string srs, Envelope envelope, IList resolutions, int tileWidth = 256, int tileHeight = 256, double pixelSize = .00028, bool topOrigin = false ) : System
name string
srs string
envelope Envelope
resolutions IList
tileWidth int
tileHeight int
pixelSize double
topOrigin bool
return System

GridWidth() public method

public GridWidth ( int z ) : int
z int
return int

PointToCoord() public method

public PointToCoord ( Point p, int z ) : Coord
p Point
z int
return Coord

Scale() public method

public Scale ( int z ) : double
z int
return double

SetY() public method

public SetY ( Coord coord ) : Coord
coord Coord
return Coord