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


IRing Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRing Interface
ArcGIS Developer Help

IRing Interface

Provides access to members that identify a ring and define its behavior. Note: the IRing interface has been superseded by IRing2. Please consider using the more recent version.

Product Availability

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

Description

A Ring is a type of surface patch that defines a two dimensional area and can be used to construct a MultiPatch, defined by a collection of points forming a closed Path, such that the From and To points have the same coordinates. The front side is established by orienting its vertices clockwise.

Members

Name Description
Method Close Makes sure that this ring is closed by adding a line segment between the ring's 'to' and 'from' points if necessary.
Read-only property Dimension The topological dimension of this geometry.
Read-only property Envelope Creates a copy of this geometry's envelope and returns it.
Read/write property FromPoint The 'from' point of the curve.
Method Generalize Generalizes this path using the Douglas-Peucker algorithm.
Read-only property GeometryType The type of this geometry.
Method GeoNormalize Shifts longitudes, if need be, into a continuous range of 360 degrees.
Method GeoNormalizeFromLongitude Normalizes longitudes into a continuous range containing the longitude. This method is obsolete.
Method GetSubcurve Extracts a portion of this curve into a new curve.
Method GetSubcurveEx Extracts a portion of this curve into a new curve. The interior of the new curve may contain the from/to point of the ring when useRingOrientation is true.
Read-only property IsClosed Indicates if 'from' and 'to' points (of each part) are identical.
Read-only property IsEmpty Indicates whether this geometry contains any points.
Read-only property IsExterior Indicates if this ring can function as the exterior ring in a polygon (ring orientation is clockwise, area > 0).
Read-only property Length The length of the curve.
Method Project Projects this geometry into a new spatial reference.
Method QueryChordLengthTangents Returns tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; and whether they have been set by user or by smoothing process.
Method QueryEnvelope Copies this geometry's envelope properties into the specified envelope.
Method QueryFromPoint Copies this curve's 'from' point to the input point.
Method QueryNormal Constructs a line normal to a curve from a point at a specified distance along the curve.
Method QueryPoint Copies to outPoint the properties of a point on the curve at a specified distance from the beginning of the curve.
Method QueryPointAndDistance Finds the point on the curve closest to inPoint, then copies that point to outPoint; optionally calculates related items.
Method QueryTangent Constructs a line tangent to a curve from a point at a specified distance along the curve.
Method QueryToPoint Copies the curve's 'to' point into the input point.
Method Reshape Modifies this ring by replacing some of its segments with some segments from reshapeSource.
Method ReverseOrientation Reverses the parameterization of the curve ('from' point becomes 'to' point, first segment becomes last segment, etc).
Method SetChordLengthTangents Sets tangent vectors (relative to corresponding endpoint) at both sides of a Bezier end point; if either is Nothing, they will be set by smoothing process.
Method SetEmpty Removes all points from this geometry.
Method Smooth Converts this path into a smooth approximation of itself that contains only Bezier curve segments.
Method SmoothLocal Replaces up to four segments (two on each of the specified vertex index) with bezier curves.
Method SnapToSpatialReference Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
Read/write property SpatialReference The spatial reference associated with this geometry.
Read/write property ToPoint The 'to' point of the curve.

Inherited Interfaces

Interfaces Description
IPath Provides access to members that identify a path and define its behavior.
ICurve Provides access to properties and methods of all 1 dimensional curves (polylines, segments, boundaries of polygons, etc.).
IGeometry Provides access to members that describe properties and behavior of all geometric objects.

Classes that implement IRing

Classes Description
Ring An area bounded by one, closed sequence of connected segments; optionally has measure, height and ID attributes at each vertex.

See Also

IPath Interface | IGeometry Interface

.NET Samples

3D multipatch examples 3D multipatch examples 3D multipatch examples