001 package com.croftsoft.core.math.geom;
002
003 import java.awt.Shape;
004
005 /*********************************************************************
006 * A read-only accessor interface for a Circle.
007 *
008 * @version
009 * 2003-04-17
010 * @since
011 * 2003-04-17
012 * @author
013 * <a href="http://www.CroftSoft.com/">David Wallace Croft</a>
014 *********************************************************************/
015
016 public interface CircleAccessor
017 extends Shape
018 //////////////////////////////////////////////////////////////////////
019 //////////////////////////////////////////////////////////////////////
020 {
021
022 public PointXY getCenter ( );
023
024 public double getCenterX ( );
025
026 public double getCenterY ( );
027
028 public double getRadius ( );
029
030 //////////////////////////////////////////////////////////////////////
031 //////////////////////////////////////////////////////////////////////
032
033 public boolean intersectsCircle ( CircleAccessor circleAccessor );
034
035 public boolean intersectsShape ( Shape shape );
036
037 //////////////////////////////////////////////////////////////////////
038 //////////////////////////////////////////////////////////////////////
039 }