edu.sc.seis.fissuresUtil.bag
Class OrientationUtil

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.bag.OrientationUtil

public class OrientationUtil
extends java.lang.Object


Constructor Summary
OrientationUtil()
           
 
Method Summary
static double angleBetween(Orientation one, Orientation two)
           
static boolean areEqual(Orientation one, Orientation two)
           
static boolean areOrthogonal(Orientation one, Orientation two)
           
static boolean areOrthogonal(Orientation one, Orientation two, double tol)
           
static ChannelImpl flip(Channel chan)
           
static Orientation flip(Orientation orient)
           
static Orientation getEast()
           
static Orientation getNorth()
           
static Orientation getUp()
           
static java.util.List<ChannelImpl> inOrientation(OrientationRange orient, java.util.List<ChannelImpl> chans)
           
static java.lang.String toString(Orientation orientation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrientationUtil

public OrientationUtil()
Method Detail

inOrientation

public static java.util.List<ChannelImpl> inOrientation(OrientationRange orient,
                                                        java.util.List<ChannelImpl> chans)

areEqual

public static boolean areEqual(Orientation one,
                               Orientation two)

areOrthogonal

public static boolean areOrthogonal(Orientation one,
                                    Orientation two)

areOrthogonal

public static boolean areOrthogonal(Orientation one,
                                    Orientation two,
                                    double tol)

angleBetween

public static double angleBetween(Orientation one,
                                  Orientation two)

getUp

public static Orientation getUp()

getNorth

public static Orientation getNorth()

getEast

public static Orientation getEast()

flip

public static Orientation flip(Orientation orient)

flip

public static ChannelImpl flip(Channel chan)

toString

public static java.lang.String toString(Orientation orientation)