added methods for testing if various shapes contain a point