Skip to content

hexArea & edgeLength don't allow rad units #134

Description

@MatixYo

The documentation clearly states that functions edgeLength and hexArea allow for second parameter to be UNIT.rads for edgeLength or UNIT.rads2 for hexArea. However when calling these functions:

h3.edgeLength(12, h3.UNIT.rads);
h3.hexArea(12, h3.UNIT.rads2)

an error is thrown:

Unknown unit: rads

Unknown unit: rads2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions