com.esri.arcgis.geometry
Interface IVolume

All Superinterfaces:
Serializable
All Known Implementing Classes:
Envelope, MultiPatch

public interface IVolume
extends Serializable

Provides access to members that return properties common to MultiPatches.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 double getVolume()
          The enclosed 3D volume.
 

Method Detail

getVolume

double getVolume()
                 throws IOException,
                        AutomationException
The enclosed 3D volume.

Description

Returns the volume of 3D space occupied by a MultiPatch. Handles closed and some non-closed MultiPatches.

Remarks

If Patches comprising a MultiPatch geometry have improperly ordered vertices such that positive faces are not pointing outwards, a negative volume will be returned. To ensure proper orientation, add vertices in a clockwise manner relative to an outside observer.

Product Availability

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

Returns:
The volumeValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.