You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the boolean operation between two shapes is made by FollowPath, which is inside the file shape.py.
The proposition is to move this responsibility to a new file called bool.py.
The main problem is: these functions receives BaseShape entities, Therefore we would have a circular import.
They are used to know if the midpoint of a segment is inside/outside the other shape.
A solution is to create a JordansContainer, like a tuple(tuple(JordanCurve)), that is used as input/output for a boolean operation.
The text was updated successfully, but these errors were encountered:
Currently the boolean operation between two shapes is made by
FollowPath
, which is inside the fileshape.py
.The proposition is to move this responsibility to a new file called
bool.py
.The main problem is: these functions receives
BaseShape
entities, Therefore we would have a circular import.They are used to know if the midpoint of a segment is inside/outside the other shape.
A solution is to create a
JordansContainer
, like atuple(tuple(JordanCurve))
, that is used as input/output for a boolean operation.The text was updated successfully, but these errors were encountered: