MvtCoordinate

class MvtCoordinate(val x: Double, val y: Double)

A 2-D tile-local coordinate.

equals intentionally uses raw IEEE == on both components, matching org.locationtech.jts.geom.Coordinate.equals2D. Ring-closure checks in the renderers (coords.first() == coords.last()) depend on this exact semantic: a Kotlin data class would instead box and use Double.equals, which treats NaN == NaN as true and 0.0 == -0.0 as false -- the opposite of JTS on both counts.

Constructors

Link copied to clipboard
constructor(x: Double, y: Double)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String