Commit dbf527c0 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix projection for curves

parent e2e8a39d
Pipeline #9869 failed with stages
in 2 minutes and 38 seconds
......@@ -101,7 +101,9 @@ class Domain:
_tools.log("Build topology")
curvesiter = _tools.chain(self._curves, self._interior_curves)
allpoints = _tools.np.row_stack(list(_tools.chain(
(curve.points for curve in curvesiter),
(_tools.project_points(curve.points, curve.projection,
self._projection)
for curve in curvesiter),
(point.x for point in self._interior_points))))
self._points, unique_id, breakpts = _generate_unique_points(
allpoints)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment