Skip to content

change H3_HEXAGON_MODE to H3_CELL_MODE#495

Merged
isaacbrodsky merged 1 commit intouber:masterfrom
ajfriend:hex_mode
Jul 12, 2021
Merged

change H3_HEXAGON_MODE to H3_CELL_MODE#495
isaacbrodsky merged 1 commit intouber:masterfrom
ajfriend:hex_mode

Conversation

@ajfriend
Copy link
Collaborator

@ajfriend ajfriend commented Jul 5, 2021

H3_CELL_MODE is the more correct name due to pentagons.

Comment on lines 80 to 84
/** H3 index modes */
#define H3_HEXAGON_MODE 1
#define H3_CELL_MODE 1
#define H3_DIRECTEDEDGE_MODE 2
#define H3_EDGE_MODE 3
#define H3_VERTEX_MODE 4
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these maybe be exposed in h3api.h?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these returned or accepted by the API anywhere? Definitely if so.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.991% when pulling a5a8ffa on ajfriend:hex_mode into 5203711 on uber:master.

Comment on lines 80 to 84
/** H3 index modes */
#define H3_HEXAGON_MODE 1
#define H3_CELL_MODE 1
#define H3_DIRECTEDEDGE_MODE 2
#define H3_EDGE_MODE 3
#define H3_VERTEX_MODE 4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these returned or accepted by the API anywhere? Definitely if so.

@isaacbrodsky isaacbrodsky merged commit 4ce808f into uber:master Jul 12, 2021
@ajfriend ajfriend deleted the hex_mode branch September 15, 2021 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants