If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Avoid reference to other packages
shell, point = closedshell = DessiaObject.from_json(
"/Users/wirajandasilva/Downloads/test_shell_false_point_belongs.json"
).primitives
ax = shell.plot()
point.plot(ax, 'y')
for i in range(20):
point_belongs = shell.point_belongs(point)
if point_belongs:
print(f'point belongs to shell: ', point_belongs)
break
else:
print('Everything went well. point_belongs gave the correct results 100% of times.')
What is the expected behavior?
What is the motivation / use case for changing the behavior?
I'm submitting a ...
What is the current behavior? ClosedShell3D.point_belongs() giving false positives test_shell_false_point_belongs.json
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Avoid reference to other packages
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Possible fixes
Please tell us about your environment: