public final class RasterTerrainIndexExtent extends Object implements IEquatable<RasterTerrainIndexExtent>, ImmutableValueType
RasterTerrainProvider.  The extent always contains at least
 two posts in each direction.| Constructor and Description | 
|---|
RasterTerrainIndexExtent()
Initializes a new instance. 
 | 
RasterTerrainIndexExtent(int west,
                        int south,
                        int east,
                        int north)
Initializes a new instance from the specified indices. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Indicates whether another object is exactly equal to this instance. 
 | 
static boolean | 
equals(RasterTerrainIndexExtent left,
      RasterTerrainIndexExtent right)
Returns  
true if the two instances are exactly equal. | 
boolean | 
equalsType(RasterTerrainIndexExtent other)
Indicates whether another instance of this type is exactly equal to this instance. 
 | 
int | 
getEast()
Gets the index of the easternmost post. 
 | 
int | 
getLatitudePosts()
Gets the total number of posts in the latitude direction. 
 | 
int | 
getLongitudePosts()
Gets the total number of posts in the longitude direction. 
 | 
int | 
getNorth()
Gets the index of the northernmost post. 
 | 
int | 
getSouth()
Gets the index of the southernmost post. 
 | 
int | 
getWest()
Gets the index of the westernmost post. 
 | 
int | 
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table. 
 | 
static boolean | 
notEquals(RasterTerrainIndexExtent left,
         RasterTerrainIndexExtent right)
Returns  
true if the two instances are not exactly equal. | 
public RasterTerrainIndexExtent()
public RasterTerrainIndexExtent(int west,
                                int south,
                                int east,
                                int north)
west - The index of the westernmost post.south - The index of the southernmost post.east - The index of the easternmost post.north - The index of the northernmost post.ArgumentException - Thrown when the west is greater than or equal to 
    the east, or when the south is
    greater than or equal to the north.public final int getWest()
public final int getSouth()
public final int getEast()
public final int getNorth()
public final int getLongitudePosts()
public final int getLatitudePosts()
public final boolean equalsType(@Nonnull RasterTerrainIndexExtent other)
equalsType in interface IEquatable<RasterTerrainIndexExtent>other - The instance to compare to this instance.true if other represents the same value as this instance; otherwise false.public boolean equals(Object obj)
equals in class Objectobj - The object to compare to this instance.true if obj is an instance of this type and represents the same value as this instance; otherwise false.Object.hashCode(), 
HashMappublic int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)public static boolean equals(@Nonnull RasterTerrainIndexExtent left, @Nonnull RasterTerrainIndexExtent right)
true if the two instances are exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left represents the same value as right; otherwise false.public static boolean notEquals(@Nonnull RasterTerrainIndexExtent left, @Nonnull RasterTerrainIndexExtent right)
true if the two instances are not exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left does not represent the same value as right; otherwise false.