edu.jhu.htm.geometry
Class Rect

java.lang.Object
  |
  +--edu.jhu.htm.geometry.ConHelper
        |
        +--edu.jhu.htm.geometry.Rect
All Implemented Interfaces:
ConvexProducer, DomainProducer

public class Rect
extends ConHelper
implements ConvexProducer, DomainProducer

specify four corners order imaterial


Field Summary
 
Fields inherited from class edu.jhu.htm.geometry.ConHelper
conv, domain
 
Constructor Summary
Rect(double ra1, double dec1, double ra2, double dec2)
          specify corners in ra dec order should not matter this assumes your box is ra1,dec1, ra2,dec1, ra1,dec2, ra2,dec2
Rect(Vector3d tl, Vector3d tr, Vector3d br, Vector3d bl)
           
 
Methods inherited from class edu.jhu.htm.geometry.ConHelper
getConvex, getDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.jhu.htm.geometry.ConvexProducer
getConvex
 
Methods inherited from interface edu.jhu.htm.geometry.DomainProducer
getDomain
 

Constructor Detail

Rect

public Rect(Vector3d tl,
            Vector3d tr,
            Vector3d br,
            Vector3d bl)

Rect

public Rect(double ra1,
            double dec1,
            double ra2,
            double dec2)
specify corners in ra dec order should not matter this assumes your box is ra1,dec1, ra2,dec1, ra1,dec2, ra2,dec2