Documentation
¶
Overview ¶
Package routedb includes routines for maintaining and querying a database of transport network routes.
Because this package is used in Android apps, this API is (and must remain) compatible with the limitations of gobind.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct {
N, E, S, W float64
}
A Box is a region defined by two latitudes (N, S) and two longitudes (E, W).
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
A Db represents an in-memory copy of the transport database.
func (*Db) Bounds ¶
Bounds returns the box bounding all the waypoints in all the routes in the database. It returns a *Box to be compatible with gobind.
Click to show internal directories.
Click to hide internal directories.