BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 12 forks source link

Geometry_Engine: BooleanDifference(List<Line>, List<Line>) and BooleanIntersection(List<Line>, List<Line>) modify input collections #3320

Closed pawelbaran closed 4 months ago

pawelbaran commented 4 months ago

Description:

As in the title, happens due to refLines being processed instead of refLeft:

https://github.com/BHoM/BHoM_Engine/blob/5bcc6bb1f991e2f004f43bff40c7f5fe86399297/Geometry_Engine/Compute/BooleanIntersection.cs#L111-L121

https://github.com/BHoM/BHoM_Engine/blob/5bcc6bb1f991e2f004f43bff40c7f5fe86399297/Geometry_Engine/Compute/BooleanDifference.cs#L66-L74