Skip to content

Commit

Permalink
hard coded default acceptOnEdges to true
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesramsden-bh authored and Fraser Greenroyd committed Jun 20, 2022
1 parent 8c8f437 commit d29a9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Environment_Engine/Query/IsContaining.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static bool IsContaining(this List<Panel> panels, Point point, bool accep
List<Point> ctrPoints = panels.SelectMany(x => x.Polyline().IControlPoints()).ToList();
BoundingBox boundingBox = BH.Engine.Geometry.Query.Bounds(ctrPoints);

if (!BH.Engine.Geometry.Query.IsContaining(boundingBox, point, acceptOnEdges, tolerance))
if (!BH.Engine.Geometry.Query.IsContaining(boundingBox, point, true, tolerance))
return false;

//We need to check one line that starts in the point and end outside the bounding box
Expand Down

0 comments on commit d29a9e1

Please sign in to comment.