import { Bounds, Hemisphere } from '@ngageoint/grid-js'; import { GridLine } from '../features/GridLine'; import { GridType } from '../grid/GridType'; import { LatitudeBand } from './LatitudeBand'; import { LongitudinalStrip } from './LongitudinalStrip'; /** * Grid Zone */ export declare class GridZone { /** * Longitudinal strip */ private strip; /** * Latitude band */ private band; /** * Bounds */ private bounds; /** * Constructor * * @param strip * longitudinal strip * @param band * latitude band */ constructor(strip: LongitudinalStrip, band: LatitudeBand); /** * Get the longitudinal strip * * @return longitudinal strip */ getStrip(): LongitudinalStrip; /** * Get the latitude band * * @return latitude band */ getBand(): LatitudeBand; /** * Get the zone number * * @return zone number */ getNumber(): number; /** * Get the band letter * * @return band letter */ getLetter(): string; /** * Get the hemisphere * * @return hemisphere */ getHemisphere(): Hemisphere; /** * Get the bounds * * @return bounds */ getBounds(): Bounds; /** * Get the label name * * @return name */ getName(): string; /** * Is the provided bounds within the zone bounds * * @param bounds * bounds * @return true if within bounds */ isWithin(bounds: Bounds): boolean; /** * Get the longitudinal strip expansion, number of additional neighbors to * iterate over in combination with this strip * * @return longitudinal strip neighbor iteration expansion */ getStripExpand(): number; /** * Get the grid zone lines * * @param gridType * grid type * @return lines */ getLinesFromGridType(gridType: GridType): GridLine[] | undefined; /** * Get the grid zone lines * * @param tileBounds * tile bounds * @param gridType * grid type * @return lines */ getLines(tileBounds: Bounds, gridType: GridType): GridLine[] | undefined; /** * Get a point west of the horizontal bounds at one meter precision * * @param easting * easting value * @param northing * northing value * @param west * west point * @param east * east point * @return higher precision point */ private getWestBoundsPoint; /** * Get a point east of the horizontal bounds at one meter precision * * @param easting * easting value * @param northing * northing value * @param west * west point * @param east * east point * @return higher precision point */ private getEastBoundsPoint; /** * Get a point outside of the horizontal bounds at one meter precision * * @param easting * easting value * @param northing * northing value * @param west * west point * @param east * east point * @param eastern * true if east of the eastern bounds, false if west of the * western bounds * @return higher precision point */ private getBoundsPoint; /** * Get the draw bounds of easting and northing in meters * * @param tileBounds * tile bounds * @param gridType * grid type * @return draw bounds or null */ getDrawBounds(tileBounds: Bounds, gridType: GridType): Bounds | undefined; } //# sourceMappingURL=GridZone.d.ts.map