backend.spheremodel
Class CircleIntersectionBase
java.lang.Object
backend.spheremodel.SphereIntrModel
backend.spheremodel.CircleIntersectionBase
- All Implemented Interfaces:
- java.util.Observer
- Direct Known Subclasses:
- SphereCircleIntrModel, SphereCircLineIntrModel
public abstract class CircleIntersectionBase
- extends SphereIntrModel
- implements java.util.Observer
CircleIntersectionBase should be implemented by classes wishing to handle
the intersection of circles.
Method Summary |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircleIntersectionBase
public CircleIntersectionBase(SphereMultiPointBase pb1,
SphereMultiPointBase pb2,
SphereWorldModel myWorld)
- CircleIntersectionBase default constructor
- Parameters:
pb1
- is the first SphereMultiPointBase to be part of the
intersectionpb2
- is the second SphereMultiPointBase to be part of the
intersectionmyWorld
- is the SphereWorldModel this intersection will reside in.
CircleIntersectionBase
public CircleIntersectionBase(SphereMultiPointBase pb1,
SphereMultiPointBase pb2,
SpherePointIntrModel point1,
SpherePointIntrModel point2,
SphereModel theModel)
- CircleIntersectionbase file reading constructor. The entire point
of this constructor is to be used when reading in data from a file.
Please do not use this constructor unless that is what you are doing!
- Parameters:
pb1
- the first SphereMultiPointBase for this intersectionpb2
- the second SphereMultiPointBase for this intersectionpoint1
- the first point in the intersectionpoint2
- the second point in the intersectiontheModel
- should be the SphereModel this intersection is part of
update
public void update(java.util.Observable o,
java.lang.Object arg)
- Specified by:
update
in interface java.util.Observer