backend.spheremodel
Class SphereCircleIntrModel
java.lang.Object
backend.spheremodel.SphereIntrModel
backend.spheremodel.CircleIntersectionBase
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.
Method Summary |
boolean |
equals(java.lang.Object checkMe)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Observer |
update |
SphereCircleIntrModel
public SphereCircleIntrModel(SphereCircleModel circ1,
SphereCircleModel circ2,
SphereWorldModel myWorld)
- SphereCircleIntrModel default constructor
- Parameters:
circ1
- is the first circlecirc2
- is the second circlemyWorld
- 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 filecirc2
- is the second circle read in from filepoint1
- is the first intersection point from filepoint2
- is the second intersection point from filemyModel
- is the SphereModel being used with the current file
equals
public boolean equals(java.lang.Object checkMe)
- Overrides:
equals
in class java.lang.Object