The segments between consecutive vertices, plus the closing one when isClosed.
That closing edge is the whole of what isClosed changes here, and it is not cosmetic: without
it a polygon's last side is missing from every edge-crossing test, so a query touching only
that side would report no overlap.
Total length along the edges — a perimeter when isClosed, a path length otherwise.
ProtectedcomputeThe curve sampled into chords — used by Geometry2d.nearestPoint and by anything reading
edges, never by Circle2d.overlapsBox or Circle2d.bounds, both of which have an
exact answer of their own.
Exact, by distance, where the base class would ask a polygon standing in for the circle.
Distance from point to this shape's outline. Zero on the outline, positive on either side.
Whether point hits this shape, allowing margin of slack around its outline.
Inside a filled shape counts however far from the outline it is — that is what filled means.
Exact: the circle sits inside the query, or one of the query's four sides crosses it, or — when filled — the query sits inside the circle.
The sampled outline the base class would use is always a little inside the true curve, so a query grazing the circle near a chord's middle would be missed.
ProtectedrotatedThis shape's frame angle after matrix is applied — for an implementation of
Geometry2d.transform to hand to the shape it builds.
A circle only stays a circle under a similarity — a rotation with one scale for both axes. Stretched unevenly it becomes an exact Ellipse2d, not a sampled approximation of one, which is the whole reason that class exists.
The radius, doubled. Exact, and without touching a single vertex.