Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created July 17, 2021 09:30
Show Gist options
  • Save seanhandley/7b91979a634f30ca454e6ec880f4974c to your computer and use it in GitHub Desktop.
Save seanhandley/7b91979a634f30ca454e6ec880f4974c to your computer and use it in GitHub Desktop.

Revisions

  1. seanhandley created this gist Jul 17, 2021.
    166 changes: 166 additions & 0 deletions 371vs372.diff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,166 @@
    10c10
    < __faceIjkPentToGeoBoundary
    ---
    > __faceIjkPentToCellBoundary
    13a14
    > __faceIjkToCellBoundary
    15d15
    < __faceIjkToGeoBoundary
    25a26
    > __gridDiskDistancesInternal
    49d49
    < __kRingInternal
    52c52
    < __polyfillInternal
    ---
    > __polygonToCellsInternal
    65a66
    > __zeroIndexDigits
    70a72
    > _areNeighborCells
    78c80
    < _bboxFromGeofence
    ---
    > _bboxFromGeoLoop
    85c87,96
    < _compact
    ---
    > _cellsToDirectedEdge
    > _cellToBoundary
    > _cellToCenterChild
    > _cellToChildren
    > _cellToChildrenSize
    > _cellToLatLng
    > _cellToParent
    > _cellToVertex
    > _cellToVertexes
    > _compactCells
    96,97c107,113
    < _edgeLengthKm
    < _edgeLengthM
    ---
    > _directedEdgeToBoundary
    > _directedEdgeToCells
    > _directionForNeighbor
    > _directionForVertexNum
    > _distanceKm
    > _distanceM
    > _distanceRads
    110,128c126,147
    < _geoToH3
    < _getDestinationH3IndexFromUnidirectionalEdge
    < _getH3IndexesFromUnidirectionalEdge
    < _getH3UnidirectionalEdge
    < _getH3UnidirectionalEdgeBoundary
    < _getH3UnidirectionalEdgesFromHexagon
    < _getOriginH3IndexFromUnidirectionalEdge
    < _getPentagonIndexes
    < _getRes0Indexes
    < _h3Distance
    < _h3GetBaseCell
    < _h3GetFaces
    < _h3GetResolution
    < _h3IndexesAreNeighbors
    < _h3IsPentagon
    < _h3IsResClassIII
    < _h3IsValid
    < _h3Line
    < _h3LineSize
    ---
    > _getBaseCellNumber
    > _getDirectedEdgeDestination
    > _getDirectedEdgeOrigin
    > _getHexagonAreaAvgKm2
    > _getHexagonAreaAvgM2
    > _getHexagonEdgeLengthAvgKm
    > _getHexagonEdgeLengthAvgM
    > _getIcosahedronFaces
    > _getNumCells
    > _getPentagons
    > _getRes0Cells
    > _getResolution
    > _gridDisk
    > _gridDiskDistances
    > _gridDiskDistancesSafe
    > _gridDiskDistancesUnsafe
    > _gridDisksUnsafe
    > _gridDiskUnsafe
    > _gridDistance
    > _gridPathCells
    > _gridPathCellsSize
    > _gridRingUnsafe
    132,135d150
    < _h3ToCenterChild
    < _h3ToChildren
    < _h3ToGeo
    < _h3ToGeoBoundary
    137d151
    < _h3ToParent
    139,145d152
    < _h3UnidirectionalEdgeIsValid
    < _hexAreaKm2
    < _hexAreaM2
    < _hexRange
    < _hexRangeDistances
    < _hexRanges
    < _hexRing
    151c158
    < _isClockwiseGeofence
    ---
    > _isClockwiseGeoLoop
    152a160
    > _isPentagon
    154,155c162,171
    < _kRing
    < _kRingDistances
    ---
    > _isResolutionClassIII
    > _isValidCell
    > _isValidDirectedEdge
    > _isValidVertex
    > _iterInitBaseCellNum
    > _iterInitParent
    > _iterInitRes
    > _iterStepChild
    > _iterStepRes
    > _latLngToCell
    160,163c176,177
    < _maxH3ToChildrenSize
    < _maxKringSize
    < _maxPolyfillSize
    < _maxUncompactSize
    ---
    > _maxGridDiskSize
    > _maxPolygonToCellsSize
    165c179
    < _numHexagons
    ---
    > _originToDirectedEdges
    170,174c184,185
    < _pentagonIndexCount
    < _pointDistKm
    < _pointDistM
    < _pointDistRads
    < _pointInsideGeofence
    ---
    > _pentagonCount
    > _pointInsideGeoLoop
    177c188
    < _polyfill
    ---
    > _polygonToCells
    180c191
    < _res0IndexCount
    ---
    > _res0CellCount
    186c197,198
    < _uncompact
    ---
    > _uncompactCells
    > _uncompactCellsSize
    188c200
    < _vertexRotations
    \ No newline at end of file
    ---
    > _vertexToLatLng
    \ No newline at end of file