* Returns the surface area of the tile. * @return Surface area if tile is valid, undefined otherwise. */
| 124 | * @return Surface area if tile is valid, undefined otherwise. |
| 125 | */ |
| 126 | float area() const |
| 127 | { |
| 128 | float2 e = extent(); |
| 129 | return e.x * e.y; |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Returns the radius of the minimal sphere that encloses the tile. |