com.esri.arcgis.geodatabaseextensions
Class TerrainPyramidLevelWindowSize

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.TerrainPyramidLevelWindowSize
All Implemented Interfaces:
ITerrainPyramidLevel, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class TerrainPyramidLevelWindowSize
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITerrainPyramidLevel

Description

This object is new at ArcGIS 9.3.

WindowSize based pyramid levels are used with terrain datasets constructed with WindowSize pyramids. Each pyramid level has Resolution and MaxScale properties that are set via ITerrainPyramidLevel. These two properties are common to both z-tolerance and window size based pyramid levels. The Resolution value, when associated with a WindowSize pyramid level, means the length of the side of each window or bin that's used for filtering points. The value should be given in the xy units of the terrain.

WindowSize specific properties are global to the entire pyramid and thus are not set for each pyramid level. These properties are set when the terrain is created using IDETerrainWindowSize methods implemented by DETerrain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
TerrainPyramidLevelWindowSize()
          Constructs a TerrainPyramidLevelWindowSize using ArcGIS Engine.
TerrainPyramidLevelWindowSize(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainPyramidLevelWindowSize theTerrainPyramidLevelWindowSize = (TerrainPyramidLevelWindowSize) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getMaxScale()
          The maximum scale this pyramid level associated with.
 int getPyramidType()
          The pyramid type of this pyramid level associated with.
 double getResolution()
          The resolution this pyramid level associated with.
 int hashCode()
          the hashcode for this object
 void setMaxScale(int pScale)
          The maximum scale this pyramid level associated with.
 void setResolution(double pResolution)
          The resolution this pyramid level associated with.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

TerrainPyramidLevelWindowSize

public TerrainPyramidLevelWindowSize()
                              throws IOException,
                                     UnknownHostException
Constructs a TerrainPyramidLevelWindowSize using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

TerrainPyramidLevelWindowSize

public TerrainPyramidLevelWindowSize(Object obj)
                              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainPyramidLevelWindowSize theTerrainPyramidLevelWindowSize = (TerrainPyramidLevelWindowSize) obj;

Construct a TerrainPyramidLevelWindowSize using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TerrainPyramidLevelWindowSize.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getPyramidType

public int getPyramidType()
                   throws IOException,
                          AutomationException
The pyramid type of this pyramid level associated with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPyramidType in interface ITerrainPyramidLevel
Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainPyramidType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResolution

public void setResolution(double pResolution)
                   throws IOException,
                          AutomationException
The resolution this pyramid level associated with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setResolution in interface ITerrainPyramidLevel
Parameters:
pResolution - The pResolution (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResolution

public double getResolution()
                     throws IOException,
                            AutomationException
The resolution this pyramid level associated with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getResolution in interface ITerrainPyramidLevel
Returns:
The pResolution
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxScale

public void setMaxScale(int pScale)
                 throws IOException,
                        AutomationException
The maximum scale this pyramid level associated with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMaxScale in interface ITerrainPyramidLevel
Parameters:
pScale - The pScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxScale

public int getMaxScale()
                throws IOException,
                       AutomationException
The maximum scale this pyramid level associated with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMaxScale in interface ITerrainPyramidLevel
Returns:
The pScale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.