Mercurial > gemma
diff pkg/octree/vertex.go @ 763:d05bc3e34338
More infrastructure for the octree driven cross section endpoint.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 25 Sep 2018 13:11:33 +0200 |
parents | 4c05bdbf8e4b |
children | 3219e7e34953 |
line wrap: on
line diff
--- a/pkg/octree/vertex.go Tue Sep 25 10:35:17 2018 +0200 +++ b/pkg/octree/vertex.go Tue Sep 25 13:11:33 2018 +0200 @@ -4,6 +4,7 @@ "bytes" "encoding/binary" "io" + "log" "math" ) @@ -154,6 +155,18 @@ 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 (mls MultiLineStringZ) JoinOnLine(x1, y1, x2, y2 float64) MultiLineStringZ { + // TODO: Implement me! + log.Println("MultiLineStringZ.JoinOnLine is not implemented, yet!") + return mls +} + func (v *Vertex) Write(w io.Writer) error { if err := binary.Write( w, binary.LittleEndian, math.Float64bits(v.X)); err != nil {