This document is archived and information here might be outdated.  Recommended version.


ICurve3D Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICurve3D Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

ICurve3D Interface

Provides access to members that define operations common to curves with Zs.

Product Availability

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

Description

This interface is new at ArcGIS 9.3.

Returns the 3D length of a curve, or the sum of the distances between adjacent XYZ points along the curve. Queries a point at a specified distance from the beginning of the curve, finds a point on the curve closest to the specified input point, and extracts a portion of the curve into a new curve. In contrast to ICurve, Z values are taken into account when performing length calculations and distance queries.

Members

Name Description
Method GetSubcurve3D Extracts a portion of this curve into a new curve.
Read-only property IsClosed3D Indicates if 'from' and 'to' points (of each part) are identical.
Read-only property Length3D The length of the curve.
Method QueryPoint3D Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
Method QueryPointAndDistance3D Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.

CoClasses that implement ICurve3D

CoClasses and Classes Description
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.
Ring An area bounded by one, closed sequence of connected segments; optionally has measure, height and ID attributes at each vertex.

Remarks

These methods are intended to be called against top-level geometries only (Polyline, Polygon). To call a method against a Segment/Path or Ring, first add the part to a Polyline or Polygon container, respectively, and then call the appropriate method against the container.