@cornerstonejs/adapters 1.63.0 → 1.63.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49615,6 +49615,9 @@ function distanceToPointSquared(p1, p2) {
49615
49615
  }
49616
49616
 
49617
49617
  function getSignedArea(polyline) {
49618
+ if (polyline.length < 3) {
49619
+ return 0;
49620
+ }
49618
49621
  const refPoint = polyline[0];
49619
49622
  let area = 0;
49620
49623
  for (let i = 0, len = polyline.length; i < len; i++) {