com.esri.arcgis.analyst3d
Class GeometryMaterialList

java.lang.Object
  extended bycom.esri.arcgis.analyst3d.GeometryMaterialList
All Implemented Interfaces:
IGeometryMaterialList, java.io.Serializable

public class GeometryMaterialList
extends java.lang.Object
implements IGeometryMaterialList

The Geometry Material List component.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

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

See Also:
Serialized Form

Constructor Summary
GeometryMaterialList()
          Constructs a GeometryMaterialList using ArcGIS Engine.
GeometryMaterialList(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void addMaterial(IGeometryMaterial pMaterial)
          Add geometry material.
 void emptyList()
          Empty material list.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGeometryMaterialList getAsIGeometryMaterialList()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String 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
 

Constructor Detail

GeometryMaterialList

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeometryMaterialList

public GeometryMaterialList(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

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.
GeometryMaterialList theGeometryMaterialList = (GeometryMaterialList) obj;

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

getClsid

public static java.lang.String getClsid()

getAsIGeometryMaterialList

public IGeometryMaterialList getAsIGeometryMaterialList()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IGeometryMaterialList
The Material Count.

Supported Platforms

Windows, Solaris, Linux

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

addMaterial

public void addMaterial(IGeometryMaterial pMaterial)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IGeometryMaterialList
Add geometry material.

Supported Platforms

Windows, Solaris, Linux

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

insertMaterial

public void insertMaterial(int index,
                           IGeometryMaterial pMaterial)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGeometryMaterialList
Insert geometry material at position.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeMaterial

public void removeMaterial(int index)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGeometryMaterialList
Remove geometry material at position.

Supported Platforms

Windows, Solaris, Linux

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

emptyList

public void emptyList()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IGeometryMaterialList
Empty material list.

Supported Platforms

Windows, Solaris, Linux

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

getGeometryMaterial

public IGeometryMaterial getGeometryMaterial(int index)
                                      throws java.io.IOException,
                                             AutomationException
Description copied from interface: IGeometryMaterialList
The Geometry Material.

Supported Platforms

Windows, Solaris, Linux

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