com.esri.arcgis.geometry
Interface ISegmentZ

All Superinterfaces:
Serializable
All Known Subinterfaces:
ISegmentZ2
All Known Implementing Classes:
BezierCurve, CircularArc, EllipticArc, ISegmentZ2Proxy, ISegmentZProxy, Line

public interface ISegmentZ
extends Serializable

Provides access to members that allow simple manipulations of Zs at the segment level.

Superseded By

ISegmentZ2

Description

Allows the Z attributes of the Segment endpoints to be set and returned. Segment attribute awareness is dependent upon the awareness of the higher level collection to which the segment belongs. These methods can be used regardless of the segment's awareness.

Product Availability

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


Method Summary
 void getZs(double[] fromZ, double[] toZ)
          Get the Zs on the segment's endpoints.
 void setZs(double fromZ, double toZ)
          Set the Zs on the segment's endpoints.
 

Method Detail

getZs

void getZs(double[] fromZ,
           double[] toZ)
           throws IOException,
                  AutomationException
Get the Zs on the segment's endpoints.

Description

Returns the Z attributes held by the From and To point of the segment.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fromZ - The fromZ (out: use single element array)
toZ - The toZ (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setZs

void setZs(double fromZ,
           double toZ)
           throws IOException,
                  AutomationException
Set the Zs on the segment's endpoints.

Description

Sets the Z attributes for the From and To points of the segment. These attributes can be set regardless of the attribute awareness of the segment.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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