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 was trying to clip 2 polygons (a quad and a triangle) to determine their overlap and the clip() routine sometimes makes invalid polygons, which can lead to wrong results or a crash.
I was trying to clip 2 polygons (a quad and a triangle) to determine their overlap and the clip() routine sometimes makes invalid polygons, which can lead to wrong results or a crash.
p=0, subject={3-gon:(0,0),(1,0),(0,1)}, clip={4-gon:(0,0),(0.333333,0),(0.333333,0.333333),(0,0.333333)}, overlap={4-gon:(0,0.333333),(0,0),(0.333333,0),(0.333333,0.333333)}
p=1, subject={3-gon:(0,0),(1,0),(0,1)}, clip={4-gon:(0.333333,0),(0.666667,0),(0.666667,0.333333),(0.333333,0.333333)}, overlap={4-gon:(0.333333,0.333333),(0.333333,0),(0.666667,0),(0.666667,0.333333)}
p=2, subject={3-gon:(0,0),(1,0),(0,1)}, clip={4-gon:(0.666667,0),(1,0),(1,0.333333),(0.666667,0.333333)}, overlap={3-gon:(0.666667,0),(1,0),(0,0)}
Difference of vf (0) and lower_vf[p] (0.5) greater than 1e-08
p=3, subject={3-gon:(0,0),(1,0),(0,1)}, clip={4-gon:(0,0.333333),(0.333333,0.333333),(0.333333,0.666667),(0,0.666667)}, overlap={4-gon:(0,0.666667),(0,0.333333),(0.333333,0.333333),(0.333333,0.666667)}
p=4, subject={3-gon:(0,0),(1,0),(0,1)}, clip={4-gon:(0.333333,0.333333),(0.666667,0.333333),(0.666667,0.666667),(0.333333,0.666667)}, overlap={4-gon:(0.333333,0.333333),(0.666667,0.333333),(0.666667,0.333333),(0,0)}
cliptest: ArrayBase.hpp:663: T &axom::ArrayBase<axom::primal::Point<double, 2>, 1, axom::Array<axom::primal::Point<double, 2>, 1, axom::MemorySpace::Dynamic>>::operator[](const axom::IndexType) [T = axom::primal::Point<double, 2>, DIM = 1, ArrayType = axom::Array<axom::primal::Point<double, 2>, 1, axom::MemorySpace::Dynamic>]: Assertion `inBounds(idx)' failed.
Abort (core dumped)
The text was updated successfully, but these errors were encountered: