Mercurial > gemma
diff pkg/mesh/tin.go @ 5601:1222b777f51f
Made golint finally happy.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 06 Aug 2022 02:09:57 +0200 |
parents | 5f47eeea988d |
children | b8da63027b48 |
line wrap: on
line diff
--- a/pkg/mesh/tin.go Sat Aug 06 00:46:21 2022 +0200 +++ b/pkg/mesh/tin.go Sat Aug 06 02:09:57 2022 +0200 @@ -46,6 +46,8 @@ Max Vertex } +// Clip returns a map of ids of triangles which are not inside the +// given polygon. func (t *Tin) Clip(polygon *Polygon) map[int32]struct{} { var tree STRTree tree.Build(t)