backend.spheremodel
Class SphereCircLineIntrModel

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

public class SphereCircLineIntrModel
extends CircleIntersectionBase

SphereCircLineIntrModel handles the intersection of a SphereCircleModel and a SphereLineModel.


Constructor Summary
SphereCircLineIntrModel(SphereCircleModel circ1, SphereLineModel line1, SpherePointIntrModel point1, SpherePointIntrModel point2, SphereModel myModel)
          SphereCircLineIntrModel file reading constructor.
SphereCircLineIntrModel(SphereCircleModel circ, SphereLineModel line, SphereWorldModel theWorld)
          SphereCircLineIntrModel sort of default constructor.
SphereCircLineIntrModel(SphereLineModel line1, SphereCircleModel circ1, SpherePointIntrModel point1, SpherePointIntrModel point2, SphereModel myModel)
          SphereCircLineIntrModel file reading constructor.
SphereCircLineIntrModel(SphereLineModel line, SphereCircleModel circ, SphereWorldModel theWorld)
          SphereCircLineIntrModel default constructor
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SphereCircLineIntrModel

public SphereCircLineIntrModel(SphereLineModel line,
                               SphereCircleModel circ,
                               SphereWorldModel theWorld)
SphereCircLineIntrModel default constructor

Parameters:
line - is the SphereLineModel to check for intersections
circ - is the SphereCircleModel to check for intersection
theWorld - is the SphereWorldModel this SphereCircLineIntrModel will be part of

SphereCircLineIntrModel

public SphereCircLineIntrModel(SphereCircleModel circ,
                               SphereLineModel line,
                               SphereWorldModel theWorld)
SphereCircLineIntrModel sort of default constructor. This is really just a wrapper for the first constructor

Parameters:
circ - is the SphereCircleModel to check for intersection
line - is the SphereLineModel to check for intersections
theWorld - is the SphereWorldModel this SphereCircLineIntrModel will be part of

SphereCircLineIntrModel

public SphereCircLineIntrModel(SphereCircleModel circ1,
                               SphereLineModel line1,
                               SpherePointIntrModel point1,
                               SpherePointIntrModel point2,
                               SphereModel myModel)
SphereCircLineIntrModel file reading constructor. This is only for when data is being read in from a file. Please do not use this consturctor otherwise. I promise, things will break if you don't heed this warning!

Parameters:
circ1 - is the SphereCircleModel part of the intersection
line1 - is the SphereLineModel part of the intersection
point1 - is the first intersection point
point2 - is the second intersection point
myModel - is the SphereModel that this is part of

SphereCircLineIntrModel

public SphereCircLineIntrModel(SphereLineModel line1,
                               SphereCircleModel circ1,
                               SpherePointIntrModel point1,
                               SpherePointIntrModel point2,
                               SphereModel myModel)
SphereCircLineIntrModel file reading constructor. This is only for when data is being read in from a file. Please do not use this consturctor otherwise. I promise, things will break if you don't heed this warning!

Parameters:
circ1 - is the SphereCircleModel part of the intersection
line1 - is the SphereLineModel part of the intersection
point1 - is the first intersection point
point2 - is the second intersection point
myModel - is the SphereModel that this is part of