toJTSGeometry

fun Shape2d.toJTSGeometry(): Geometry

Convert a FooCAD Shape2d into jts Geometry.

See toPolygon for the reverse operation.