Mercurial > gemma
changeset 792:ce23a4192788
Removed dead code.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 09:55:25 +0200 |
parents | 8d96204a786a |
children | 073394629ec6 |
files | pkg/models/cross.go pkg/octree/vertex.go |
diffstat | 2 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/models/cross.go Thu Sep 27 08:52:44 2018 +0200 +++ b/pkg/models/cross.go Thu Sep 27 09:55:25 2018 +0200 @@ -136,8 +136,6 @@ const ( wkbXDR byte = 0 wkbNDR byte = 1 - wkbPoint uint32 = 1 - wkbPointZ uint32 = 1000 + 1 wkbLineString uint32 = 2 wkbLineStringZ uint32 = 1000 + 2 )
--- a/pkg/octree/vertex.go Thu Sep 27 08:52:44 2018 +0200 +++ b/pkg/octree/vertex.go Thu Sep 27 09:55:25 2018 +0200 @@ -4,7 +4,6 @@ "bytes" "encoding/binary" "io" - "log" "math" "sort" ) @@ -39,7 +38,6 @@ const ( wkbNDR byte = 1 - wkbPointZ uint32 = 1000 + 1 wkbLineStringZ uint32 = 1000 + 2 wkbMultiLineStringZ uint32 = 1000 + 5 ) @@ -169,12 +167,6 @@ return points } -func (t *Triangle) IntersectVertical(x1, y1, x2, y2 float64) LineStringZ { - // TODO: Implement me! - log.Println("Triangle.IntersectVertical is not implemented, yet!") - return nil -} - func linearScale(x1, y1, x2, y2 float64) func(Vertex) float64 { dx := x2 - x1 dy := y2 - y1