Exemplo n.º 1
0
        /**
         * Return true if and only if the interior of this cap intersects the given
         * other cap. (This relationship is not symmetric, since only the interior of
         * this cap is used.)
         */

        public bool InteriorIntersects(S2Cap other)
        {
            // Interior(X) intersects Y if and only if Complement(Interior(X))
            // does not contain Y.
            return(!Complement.Contains(other));
        }