Circle class provides static functions to create and operate on circles. A circle is usually represented as a Group of 2 Pts, where the first Pt specifies the center, and the second Pt specifies the radius.
You can use the static function as-is, or apply the
op method in Group or Pt to many of these functions.
See Op guide for details.
Quick way to check rectangle intersection with a circle.
For more optimized implementation, store the rectangle's sides separately (eg,
Rectangle.sides()) and use
a Group of 2 Pts representing a circle
a Group of 2 Pts representing a rectangle
a Group of intersection points, or an empty Group if no intersection is found
Generated using TypeDoc