BoundingData

open class BoundingData

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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°.