From 422f84cf0069b5cd8937e5f75a0ed8fba8d10e76 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 5 Aug 2024 13:05:55 +1000 Subject: [PATCH] [DOCS] Fix typo --- .../java/org/apache/sedona/common/geometryObjects/Circle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java b/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java index 05eb08e806..09de7696eb 100644 --- a/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java +++ b/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java @@ -254,7 +254,7 @@ private boolean intersects(Point start, Point end) { double centerDeltaX = start.getX() - centerPoint.x; double centerDeltaY = start.getY() - centerPoint.y; - // Building and solving quadractic equation: ax2 + bx + c = 0 + // Building and solving quadratic equation: ax2 + bx + c = 0 double a = deltaX * deltaX + deltaY * deltaY; double b = 2 * (deltaX * centerDeltaX + deltaY * centerDeltaY); double c = centerDeltaX * centerDeltaX + centerDeltaY * centerDeltaY - radius * radius;