|
| 1 | +/* |
| 2 | + * Copyright 2022 Uber Technologies, Inc. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"), |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +module.exports = { |
| 18 | + UNITS: 'UNITS', |
| 19 | + h3IndexToSplitLong: 'h3IndexToSplitLong', |
| 20 | + splitLongToH3Index: 'splitLongToH3Index', |
| 21 | + h3IsValid: 'isValidCell', |
| 22 | + h3IsPentagon: 'isPentagon', |
| 23 | + h3IsResClassIII: 'isResClassIII', |
| 24 | + h3GetBaseCell: 'getBaseCellNumber', |
| 25 | + h3GetFaces: 'getIcosahedronFaces', |
| 26 | + h3GetResolution: 'getResolution', |
| 27 | + geoToH3: 'latLngToCell', |
| 28 | + h3ToGeo: 'cellToLatLng', |
| 29 | + h3ToGeoBoundary: 'cellToBoundary', |
| 30 | + h3ToParent: 'cellToParent', |
| 31 | + h3ToChildren: 'cellToChildren', |
| 32 | + h3ToCenterChild: 'cellToCenterChild', |
| 33 | + kRing: 'gridDisk', |
| 34 | + kRingDistances: 'gridDiskDistances', |
| 35 | + hexRing: 'gridRingUnsafe', |
| 36 | + polyfill: 'polygonToCells', |
| 37 | + h3SetToMultiPolygon: 'cellsToMultiPolygon', |
| 38 | + compact: 'compactCells', |
| 39 | + uncompact: 'uncompactCells', |
| 40 | + h3IndexesAreNeighbors: 'areNeighborCells', |
| 41 | + getH3UnidirectionalEdge: 'cellsToDirectedEdge', |
| 42 | + getOriginH3IndexFromUnidirectionalEdge: 'getDirectedEdgeOrigin', |
| 43 | + getDestinationH3IndexFromUnidirectionalEdge: 'getDirectedEdgeDestination', |
| 44 | + h3UnidirectionalEdgeIsValid: 'isValidDirectedEdge', |
| 45 | + getH3IndexesFromUnidirectionalEdge: 'directedEdgeToCells', |
| 46 | + getH3UnidirectionalEdgesFromHexagon: 'originToDirectedEdges', |
| 47 | + getH3UnidirectionalEdgeBoundary: 'directedEdgeToBoundary', |
| 48 | + h3Distance: 'gridDistance', |
| 49 | + h3Line: 'gridPathCells', |
| 50 | + experimentalH3ToLocalIj: 'cellToLocalIj', |
| 51 | + experimentalLocalIjToH3: 'localIjToCell', |
| 52 | + pointDist: 'greatCircleDistance', |
| 53 | + cellArea: 'cellArea', |
| 54 | + exactEdgeLength: 'exactEdgeLength', |
| 55 | + hexArea: 'getHexagonAreaAvg', |
| 56 | + edgeLength: 'getHexagonEdgeLengthAvg', |
| 57 | + numHexagons: 'getNumCells', |
| 58 | + getRes0Indexes: 'getRes0Cells', |
| 59 | + getPentagonIndexes: 'getPentagons', |
| 60 | + degsToRads: 'degsToRads', |
| 61 | + radsToDegs: 'radsToDegs' |
| 62 | +}; |
0 commit comments