com.esri.sde.sdk.pe
Class PeGCSExtent

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeGCSExtent

public final class PeGCSExtent
extends java.lang.Object

Geographic extent


Field Summary
 double m_factor
           
 double m_llon
           
 double m_nlat
           
 double m_primem
           
 double m_rlon
           
 double m_slat
           
 
Constructor Summary
PeGCSExtent()
           
PeGCSExtent(double llon, double slat, double rlon, double nlat)
           
PeGCSExtent(double llon, double slat, double rlon, double nlat, double primem, double factor)
           
PeGCSExtent(PeGCSExtent e)
           
 
Method Summary
 void clear()
          clear an extent
 double extentArea(double a, double e2)
          get the area of an extent
 double extentAreaWGS84()
          get the area of an extent, assuming a WGS84 ellipsoid
 boolean gcs_extent_inside(double lon, double lat, double factor, double primem)
          quick inside/outside check
static int gcs_extent_intersect(PeGCSExtent extent1, PeGCSExtent extent2, PeGCSExtent[] results)
          Get the intersection of two extents.
 int gcs_extent_relation(double lon, double lat, double factor, double primem)
          get the relationship of a geographic point to a geographic extent
 boolean isEqual(PeGCSExtent e)
          check if two exents are equal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_llon

public double m_llon

m_slat

public double m_slat

m_rlon

public double m_rlon

m_nlat

public double m_nlat

m_primem

public double m_primem

m_factor

public double m_factor
Constructor Detail

PeGCSExtent

public PeGCSExtent()

PeGCSExtent

public PeGCSExtent(double llon,
                   double slat,
                   double rlon,
                   double nlat,
                   double primem,
                   double factor)

PeGCSExtent

public PeGCSExtent(double llon,
                   double slat,
                   double rlon,
                   double nlat)

PeGCSExtent

public PeGCSExtent(PeGCSExtent e)
Method Detail

clear

public void clear()
clear an extent


isEqual

public boolean isEqual(PeGCSExtent e)
check if two exents are equal


extentArea

public double extentArea(double a,
                         double e2)
get the area of an extent


extentAreaWGS84

public double extentAreaWGS84()
get the area of an extent, assuming a WGS84 ellipsoid


gcs_extent_relation

public int gcs_extent_relation(double lon,
                               double lat,
                               double factor,
                               double primem)
get the relationship of a geographic point to a geographic extent


gcs_extent_inside

public boolean gcs_extent_inside(double lon,
                                 double lat,
                                 double factor,
                                 double primem)
quick inside/outside check


gcs_extent_intersect

public static int gcs_extent_intersect(PeGCSExtent extent1,
                                       PeGCSExtent extent2,
                                       PeGCSExtent[] results)
Get the intersection of two extents.