Mercurial > gemma
diff cmd/octreediff/main.go @ 2513:1534df518201 octree-diff
Called STT tree building.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 05 Mar 2019 15:00:42 +0100 |
parents | e0a7571ac13a |
children | 1ec4c5633eb6 |
line wrap: on
line diff
--- a/cmd/octreediff/main.go Tue Mar 05 13:05:50 2019 +0100 +++ b/cmd/octreediff/main.go Tue Mar 05 15:00:42 2019 +0100 @@ -393,6 +393,14 @@ log.Printf("triangulation took %v\n", now.Sub(last)) last = now + var str octree.STRTree + + str.Build(tri) + + now = time.Now() + log.Printf("building STR tree took %v\n", now.Sub(last)) + last = now + builder := octree.NewBuilder(tri.Tin()) builder.Build()