fixed dependencies
This commit is contained in:
12
vendor/github.com/paulmach/orb/planar/length.go
generated
vendored
Normal file
12
vendor/github.com/paulmach/orb/planar/length.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package planar
|
||||
|
||||
import (
|
||||
"github.com/paulmach/orb"
|
||||
"github.com/paulmach/orb/internal/length"
|
||||
)
|
||||
|
||||
// Length returns the length of the boundary of the geometry
|
||||
// using 2d euclidean geometry.
|
||||
func Length(g orb.Geometry) float64 {
|
||||
return length.Length(g, Distance)
|
||||
}
|
||||
Reference in New Issue
Block a user