Triangle

data class Triangle(val origin: LngLatAlt, val left: LngLatAlt, val right: LngLatAlt)

FeatureTree is a class which stores FeatureCollections within an rtree which gives us faster spatial searching. The APIs are purely FeatureCollections - pass one in to create the tree and then call one of generateFeatureCollection, generateNearbyFeatureCollection or generateNearestFeatureCollection to return a FeatureCollection trimmed down by location.

Constructors

Link copied to clipboard
constructor(origin: LngLatAlt, left: LngLatAlt, right: LngLatAlt)

Properties

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