UNPKG

x5-geometry

Version:

Geometry and word processing utilities for XNet

16 lines (15 loc) 2.16 kB
import * as adjectives from './adjectives'; import * as nouns from './nouns'; import * as geom from './geom'; import * as words2index from './words2index'; import * as x5sub from './x5sub'; export { adjectives, nouns, geom, words2index, x5sub }; export declare const getAdjectiveIndex: typeof adjectives.getAdjectiveIndex, getAdjectiveByIndex: typeof adjectives.getAdjectiveByIndex, isAdjective: typeof adjectives.isAdjective, getRandomAdjective: typeof adjectives.getRandomAdjective; export declare const getNounIndex: typeof nouns.getNounIndex, getNounByIndex: typeof nouns.getNounByIndex, isNoun: typeof nouns.isNoun, getRandomNoun: typeof nouns.getRandomNoun; export declare const haversine: typeof geom.haversine, travel: typeof geom.travel, gpsDiff: typeof geom.gpsDiff, sigmaTest: typeof geom.sigmaTest, vec2add: typeof geom.vec2add, vec2scale: typeof geom.vec2scale, latLon2ab: typeof geom.latLon2ab, ab2latLon: typeof geom.ab2latLon, grid2latLon: typeof geom.grid2latLon, ab2grid: typeof geom.ab2grid, latLon2grid: typeof geom.latLon2grid, grid2latLonHex: typeof geom.grid2latLonHex; export declare const ij2idx: typeof words2index.ij2idx, idx2ij: typeof words2index.idx2ij, idx2abc: typeof words2index.idx2abc, abc2idx: typeof words2index.abc2idx, abc2string: typeof words2index.abc2string, noun2ind: typeof words2index.noun2ind, adject2ind: typeof words2index.adject2ind, string2abc: typeof words2index.string2abc, ij2string: (i: number, j: number) => string, string2ij: (string: string) => import("./types").GridIndex; export declare const getHexSubdivisionIndices: typeof x5sub.getHexSubdivisionIndices, hexIndexToIndexArray: typeof x5sub.hexIndexToIndexArray, hexIndexToVertices: typeof x5sub.hexIndexToVertices, reorderVerticies: typeof x5sub.reorderVerticies, subdivideTriangle: typeof x5sub.subdivideTriangle, isPointInsideTriangle: typeof x5sub.isPointInsideTriangle, subdivideHexToTriangles: typeof x5sub.subdivideHexToTriangles, sign: typeof x5sub.sign; export type { LatLon, Vector2D, HexGrid, GridIndex, ABCIndex, WordMap, Point, Triangle } from './types'; export * from './geom'; export * from './words2index'; export * from './x5sub';