Class GeoStandardPath.CutoffDualCircleSegmentEndpoint

All Implemented Interfaces:
Bounded, GeoBounds, GeoStandardPath.PathComponent, GeoStandardPath.SegmentEndpoint, Membership, PlanetObject, SerializableObject
Enclosing class:
GeoStandardPath

private static class GeoStandardPath.CutoffDualCircleSegmentEndpoint extends GeoStandardPath.BaseSegmentEndpoint
Endpoint that's a dual circle with cutoff(s). This SegmentEndpoint is used when we have two adjoining segments. (1) We construct two circles. Each circle uses the two segment endpoints for one of the two segments, plus the one segment endpoint that is on the other side of the segment's cutoff plane. (2) isWithin() is computed using both circles, using just the portion that is within both segments' cutoff planes. If either matches, the point is included. (3) intersects() is computed using both circles, with similar cutoffs. (4) bounds() uses both circles too.