tile38/vendor/github.com/tidwall/geoindex/child/child.go

12 lines
324 B
Go
Raw Normal View History

2019-09-13 04:42:53 +03:00
package child
// Child represents a child of a 2d geospatial tree.
// The Min and Max fields are the bounds of the Child.
// Data is whatever the child consists of.
// Item is true when the Data is a leaf item, otherwise it's probably a node.
type Child struct {
Min, Max [2]float64
Data interface{}
Item bool
}