[−][src]Module s2::metric
This file implements functions for various S2 measurements.
Structs
Metric |
Constants
AVG_ANGLE_SPANMETRIC | |
AVG_AREAMETRIC | |
AVG_DIAGMETRIC | |
AVG_EDGEMETRIC | |
AVG_WIDTHMETRIC | |
MAX_ANGLE_SPANMETRIC | |
MAX_AREAMETRIC | |
MAX_DIAGMETRIC | |
MAX_DIAG_ASPECT | MAX_DIAG_ASPECT is the maximum diagonal aspect ratio over all cells at any level, where the diagonal aspect ratio of a cell is defined as the ratio of its longest diagonal length to its shortest diagonal length. TODO: 3f64.sqrt() |
MAX_EDGEMETRIC | |
MAX_EDGE_ASPECT | MAX_EDGE_ASPECT is the maximum edge aspect ratio over all cells at any level, where the edge aspect ratio of a cell is defined as the ratio of its longest edge length to its shortest edge length. |
MAX_WIDTHMETRIC | |
MIN_ANGLE_SPANMETRIC | |
MIN_AREAMETRIC | |
MIN_DIAGMETRIC | |
MIN_EDGEMETRIC | |
MIN_WIDTHMETRIC |