com.esri.arcgis.analyst3d
Class GeometryMaterialList

java.lang.Object
  extended by com.esri.arcgis.analyst3d.GeometryMaterialList
All Implemented Interfaces:
IGeometryMaterialList, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GeometryMaterialList
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeometryMaterialList

The Geometry Material List component.

Remarks

GeometryMaterialList is basically a container for GeometryMaterial objects. It is used to initialize a GeneralMultipatchCreator object in the object's Init method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
GeometryMaterialList()
          Constructs a GeometryMaterialList using ArcGIS Engine.
GeometryMaterialList(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryMaterialList theGeometryMaterialList = (GeometryMaterialList) obj;
 
Method Summary
 void addMaterial(IGeometryMaterial pMaterial)
          Add geometry material.
 void emptyList()
          Empty material list.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getCount()
          The Material Count.
 IGeometryMaterial getGeometryMaterial(int index)
          The Geometry Material.
 int hashCode()
          the hashcode for this object
 void insertMaterial(int index, IGeometryMaterial pMaterial)
          Insert geometry material at position.
 void removeMaterial(int index)
          Remove geometry material at position.
 
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

GeometryMaterialList

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

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

GeometryMaterialList

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

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

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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The Material Count.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IGeometryMaterialList
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMaterial

public void addMaterial(IGeometryMaterial pMaterial)
                 throws IOException,
                        AutomationException
Add geometry material.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addMaterial in interface IGeometryMaterialList
Parameters:
pMaterial - A reference to a com.esri.arcgis.analyst3d.IGeometryMaterial (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertMaterial

public void insertMaterial(int index,
                           IGeometryMaterial pMaterial)
                    throws IOException,
                           AutomationException
Insert geometry material at position.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
insertMaterial in interface IGeometryMaterialList
Parameters:
index - The index (in)
pMaterial - A reference to a com.esri.arcgis.analyst3d.IGeometryMaterial (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeMaterial

public void removeMaterial(int index)
                    throws IOException,
                           AutomationException
Remove geometry material at position.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

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

emptyList

public void emptyList()
               throws IOException,
                      AutomationException
Empty material list.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
emptyList in interface IGeometryMaterialList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryMaterial

public IGeometryMaterial getGeometryMaterial(int index)
                                      throws IOException,
                                             AutomationException
The Geometry Material.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Specified by:
getGeometryMaterial in interface IGeometryMaterialList
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.analyst3d.IGeometryMaterial
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.