Skip to content

Commit 31eeebf

Browse files
committed
Add a dead simple TGGeometry extension
1 parent 9788ef8 commit 31eeebf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module GeometryOpsTGGeometryExt
2+
3+
using GeometryOps: TG
4+
import GeometryOps as GO
5+
6+
using TGGeometry
7+
8+
for jl_fname in TGGeometry.TG_PREDICATES
9+
@eval GO.$jl_fname(::TG, geom1, geom2) = TGGeometry.$jl_fname(geom1, geom2)
10+
end
11+
12+
end

0 commit comments

Comments
 (0)