org.opensha.refFaultParamDb.gui.addEdit.connections
Class PotentialConnectionPoint

java.lang.Object
  extended by org.opensha.refFaultParamDb.gui.addEdit.connections.PotentialConnectionPoint
All Implemented Interfaces:
java.lang.Comparable<PotentialConnectionPoint>

public class PotentialConnectionPoint
extends java.lang.Object
implements java.lang.Comparable<PotentialConnectionPoint>


Constructor Summary
PotentialConnectionPoint(FaultSectionData fs1, FaultSectionData fs2)
           
 
Method Summary
 int compareTo(PotentialConnectionPoint o)
           
 void compute()
           
 boolean equals(java.lang.Object obj)
           
 double getDistance(int i, int j)
           
 FaultSectionData getFSD1()
           
 FaultSectionData getFSD2()
           
 double getMinDist()
           
 PotentialConnectionPoint getReversal()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PotentialConnectionPoint

public PotentialConnectionPoint(FaultSectionData fs1,
                                FaultSectionData fs2)
Method Detail

compute

public void compute()

getMinDist

public double getMinDist()

getDistance

public double getDistance(int i,
                          int j)

getReversal

public PotentialConnectionPoint getReversal()

getFSD1

public FaultSectionData getFSD1()

getFSD2

public FaultSectionData getFSD2()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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

compareTo

public int compareTo(PotentialConnectionPoint o)
Specified by:
compareTo in interface java.lang.Comparable<PotentialConnectionPoint>