backend.spheremodel
Class SphereCircleIntrModel

java.lang.Object
  extended by backend.spheremodel.SphereIntrModel
      extended by backend.spheremodel.CircleIntersectionBase
          extended by backend.spheremodel.SphereCircleIntrModel
All Implemented Interfaces:
java.util.Observer

public class SphereCircleIntrModel
extends CircleIntersectionBase
implements java.util.Observer

SphereCircleIntrModel handles the interestion of two circles. It does not represent the actual points of intersection. Rather, it controls how the points of intersection act when the circles are moved around the sphere.


Constructor Summary
SphereCircleIntrModel(SphereCircleModel circ1, SphereCircleModel circ2, SpherePointIntrModel point1, SpherePointIntrModel point2, SphereModel myModel)
          SphereCircleIntrModel file reading constructor.
SphereCircleIntrModel(SphereCircleModel circ1, SphereCircleModel circ2, SphereWorldModel myWorld)
          SphereCircleIntrModel default constructor
 
Method Summary
 boolean equals(java.lang.Object checkMe)
           
 
Methods inherited from class backend.spheremodel.CircleIntersectionBase
update
 
Methods inherited from class backend.spheremodel.SphereIntrModel
equals, getFirstPoint, getFirstPointBase, getSecondPoint, getSecondPointBase
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Observer
update
 

Constructor Detail

SphereCircleIntrModel

public SphereCircleIntrModel(SphereCircleModel circ1,
                             SphereCircleModel circ2,
                             SphereWorldModel myWorld)
SphereCircleIntrModel default constructor

Parameters:
circ1 - is the first circle
circ2 - is the second circle
myWorld - is the SphereWorldModel that this intersection will be a part of

SphereCircleIntrModel

public SphereCircleIntrModel(SphereCircleModel circ1,
                             SphereCircleModel circ2,
                             SpherePointIntrModel point1,
                             SpherePointIntrModel point2,
                             SphereModel myModel)
SphereCircleIntrModel file reading constructor. This constructor is to be used only when reading in data from a file. If you fail to comply with this warning things will break.

Parameters:
circ1 - is the first circle read in from file
circ2 - is the second circle read in from file
point1 - is the first intersection point from file
point2 - is the second intersection point from file
myModel - is the SphereModel being used with the current file
Method Detail

equals

public boolean equals(java.lang.Object checkMe)
Overrides:
equals in class java.lang.Object