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
I built the wheel with pip, so I'm not sure whether this error is general to the library or something I messed up in the build. I have repeated it on three different computers with the same result.
Simple Demo
import skgeom as sg
# first ray
a = sg.Point2(0, 0)
b = sg.Point2(1, 1)
r1 = sg.Ray2(a, b-a)
# second ray
c = sg.Point2(6, 0)
d = sg.Point2(5, 1)
r2 = sg.Ray2(c, d-c)
# find intersection - should be at (3, 3)
pt = sg.intersection(r1, r2) # !!! error here
builds with gcc - gives 11 warnings, but nothing that looks relevant to this problem (full build output attached: scikit-geometry-build-output.txt )
I haven't yet dug into the source; I'll do that tomorrow. At this point I presume that the Ray2/Ray2 case just got skipped somehow. If so, I'll try adding it.
The text was updated successfully, but these errors were encountered:
I built the wheel with pip, so I'm not sure whether this error is general to the library or something I messed up in the build. I have repeated it on three different computers with the same result.
Simple Demo
Simple Demo Result
.. which I read as "I don't know how to intersect Ray2 and Ray2".
However the CGAL library does support this, per
https://doc.cgal.org/latest/Kernel_23/group__intersection__linear__grp.html#gade00253914ac774cce3d2031c07d74fe
(row 10 of the '2D Intersections' type table)
System Info
Ubuntu 22.10
Python 3.10.7
pip 22.3.1, setuptools 66.1.1
CGAL 5.5-1 (installed by: sudo apt-get install libcgal-dev)
Boost (installed by: sudo apt-get install libboost-all-dev)
Requirements fulfilled:
pybind11 2.7.1
numpy 1.23.5
scikit-geometry (installed by:
builds with gcc - gives 11 warnings, but nothing that looks relevant to this problem (full build output attached: scikit-geometry-build-output.txt )
I haven't yet dug into the source; I'll do that tomorrow. At this point I presume that the Ray2/Ray2 case just got skipped somehow. If so, I'll try adding it.
The text was updated successfully, but these errors were encountered: