com.esri.arcgis.geometry
Interface IZCollection

All Superinterfaces:
Serializable
All Known Subinterfaces:
IZ, IZ2
All Known Implementing Classes:
MultiPatch, Multipoint, Polygon, Polyline

public interface IZCollection
extends Serializable

Provides access to operations on Z-aware geometries.

Description

IZCollection supports operations performed on a collection of geometry objects that have Z values. For IZCollection operations to be performed, the object must be ZAware and have non-NaN Zs.

When To Use

If you are using a development language that does not support C style arrays, use IGeometryBridge instead. The IGeometryBridge interface solves that problem allowing you to pass safe arrays instead.

Product Availability

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

See Also:
IPoint.getZ(), IZAware, IZCollection, IZ

Method Summary
 double getZMax()
          The maximum Z value.
 double getZMin()
          The minimum Z value.
 void multiplyZs(double factor)
          Multiplies all the Z values by a factor.
 void offsetZs(double offset)
          Offsets all the Z values by an offset value.
 

Method Detail

getZMin

double getZMin()
               throws IOException,
                      AutomationException
The minimum Z value.

Description

Returns the minimum Z attribute contained within the ZAware object collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getZMax

double getZMax()
               throws IOException,
                      AutomationException
The maximum Z value.

Description

Returns the maximum Z attribute contained within the ZAware object collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

multiplyZs

void multiplyZs(double factor)
                throws IOException,
                       AutomationException
Multiplies all the Z values by a factor.

Description

Multiplies all Zs within the ZAware collection by a given input factor. This is analgous to scaling spatial coordinates.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
factor - The factor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

offsetZs

void offsetZs(double offset)
              throws IOException,
                     AutomationException
Offsets all the Z values by an offset value.

Description

Offsets all Zs within the ZAware collection by a given input factor. This is analgous to moving spatial coordinates.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
offset - The offset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.