|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbackend.spheremodel.SphereIntrModel
public class SphereIntrModel
SphereIntrModel is a base class for intersections
| Constructor Summary | |
|---|---|
SphereIntrModel(SphereModel theSphere,
SphereMultiPointBase pb1,
SphereMultiPointBase pb2,
SpherePointIntrModel point1,
SpherePointIntrModel point2)
SphereIntrModel file reading constructor should only be called when reading intersections in from file. |
|
SphereIntrModel(SphereWorldModel theWorld,
SphereModel theSphere,
SphereMultiPointBase pb1,
SphereMultiPointBase pb2)
SphereIntrModel default constructor should be called by any class which extends the SphereIntrModel |
|
| Method Summary | |
|---|---|
boolean |
equals(SphereMultiPointBase pb1,
SphereMultiPointBase pb2)
this equals method can be used to see if two potentional intersection lines would create the same intersection as what already exists. |
SpherePointIntrModel |
getFirstPoint()
getFirstPoint will return the first intersection point |
SphereMultiPointBase |
getFirstPointBase()
getFirstPointBase will return the first point base that this SphereIntrModel is modeling |
SpherePointIntrModel |
getSecondPoint()
getSecondPoint will return the second intersection point |
SphereMultiPointBase |
getSecondPointBase()
getFirstPointBase will return the first point base that this SphereIntrModel is modeling |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SphereIntrModel(SphereWorldModel theWorld,
SphereModel theSphere,
SphereMultiPointBase pb1,
SphereMultiPointBase pb2)
theWorld - is the SphereWorldModel which this intersection
is a part oftheSphere - is the SphereModel to deal withpb1 - is the first SphereMultiPointBase used in this intersectionpb2 - is the second SphereMultiPointBase used in this intersection
public SphereIntrModel(SphereModel theSphere,
SphereMultiPointBase pb1,
SphereMultiPointBase pb2,
SpherePointIntrModel point1,
SpherePointIntrModel point2)
theSphere - is the SphereModel for us to gather sphere information
frompb1 - is the first SphereMultiPointBase for this intersectionpb2 - is the second SphereMultiPointBase for this intersectionpoint1 - is the first SphereIntrPointModelpoint2 - is the second SphereIntrPointModel| Method Detail |
|---|
public SpherePointIntrModel getFirstPoint()
public SpherePointIntrModel getSecondPoint()
public SphereMultiPointBase getFirstPointBase()
public SphereMultiPointBase getSecondPointBase()
public boolean equals(SphereMultiPointBase pb1,
SphereMultiPointBase pb2)
firstLine - the first line for comparisonsecondLine - the second line for comparison
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||