Bounding Data
Properties
Functions
Link copied to clipboard
fun computeAntimeridianSectors(vertexArray: FloatArray, count: Int, stride: Int, origin: Vec3, normalizeLon: Boolean = false)
Splits the vertex array's absolute longitudes at 0° into an east sector (stored in boundingSector) and a west sector (stored in additionalSector), and sets crossesAntimeridian = true. Pass normalizeLon = true for shapes that store normalized offsets whose sum with the origin may fall outside -180°, 180°.