Lines Matching refs:maxs
36 func normRect(swLat, swLon, neLat, neLon float64) (mins, maxs [][]float64, normd bool) {
37 mins, maxs, normd = normRectStep(swLat, swLon, neLat, neLon, nil, nil, false)
38 return mins, maxs, normd
41 func normRectStep(swLat, swLon, neLat, neLon float64, mins, maxs [][]float64, normd bool) (minsOut,…
78 mins, maxs, normd = normRectStep(swLat, 180+(180+swLon), neLat, 180, mins, maxs, normd)
79 mins, maxs, normd = normRectStep(swLat, -180, neLat, neLon, mins, maxs, normd)
81 mins, maxs, normd = normRectStep(swLat, swLon, neLat, 180, mins, maxs, normd)
82 mins, maxs, normd = normRectStep(swLat, -180, neLat, -180+(neLon-180), mins, maxs, normd)
86 return mins, maxs, true
88 return normRectStep(swLat, swLon, neLat, neLon, mins, maxs, true)
107 mins, maxs, normd = normRectStep(swLat, swLon, 90, neLon, mins, maxs, normd)
108 mins, maxs, normd = normRectStep(90-(neLat-90), swLon-180, 90, neLon-180, mins, maxs, normd)
110 mins, maxs, normd = normRectStep(-90, swLon, neLat, neLon, mins, maxs, normd)
111 mins, maxs, normd = normRectStep(-90, swLon-180, -90-(90+swLat), neLon-180, mins, maxs, normd)
115 return mins, maxs, true
117 return normRectStep(swLat, swLon, neLat, neLon, mins, maxs, true)
121 maxs = append(maxs, []float64{neLon, neLat})
122 return mins, maxs, normd