gis-tools-ts - v0.6.0
    Preparing search index...

    Function pointFromSTGL

    • Convert an Face-S-T coord to an XYZ Point using the right-hand-rule

      Parameters

      • face: Face

        The face of the S2 cell.

      • s: number

        The s-coordinate on the face.

      • t: number

        The t-coordinate on the face.

      Returns VectorPoint

      The XYZ Point representing the given Face-S-T coordinates.