issues
search
LLNL
/
axom
CS infrastructure components for HPC applications
BSD 3-Clause "New" or "Revised" License
145
stars
24
forks
source link
2D Polygon Intersection
#1353
Open
bmhan12
opened
1 week ago
bmhan12
commented
1 week ago
This PR:
Implements an overload
clip()
for 2D polygons using the Sutherland–Hodgman algorithm.
host-device decorated to run on device.
Generalizes
intersect(plane, segment)
for 2D.
Moved
StaticArray
from Polygon class into core.
This PR:
clip()
for 2D polygons using the Sutherland–Hodgman algorithm.intersect(plane, segment)
for 2D.StaticArray
from Polygon class into core.