mirror of https://github.com/tidwall/tile38.git
Update poly geo comment
This commit is contained in:
parent
18b19aec2f
commit
f31cead207
|
@ -4,8 +4,9 @@ package poly
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
// Point is simple 2D point
|
// Point is simple 2D point
|
||||||
|
// For geo locations: X is lat, Y is lon, and Z is elev or time measure.
|
||||||
type Point struct {
|
type Point struct {
|
||||||
X, Y, Z float64 // X=latitude, Y=longitude, (Z is optional, e.g. for elevation or timestamp)
|
X, Y, Z float64
|
||||||
}
|
}
|
||||||
|
|
||||||
// InsideRect detects point is inside of another rect
|
// InsideRect detects point is inside of another rect
|
||||||
|
|
Loading…
Reference in New Issue