Interface IRing2

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides extended access to members that identify a ring and define its behavior.

[Guid("6011FA75-0C4A-11D6-9FA9-00C04F6BDF0D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRing2 : IRing, IPath, ICurve, IGeometry

Properties

Dimension

esriGeometryDimension Dimension { get; }

Property Value

esriGeometryDimension

Envelope

IEnvelope Envelope { get; }

Property Value

IEnvelope

FromPoint

IPoint FromPoint { get; set; }

Property Value

IPoint

GeometryType

esriGeometryType GeometryType { get; }

Property Value

esriGeometryType

IsClosed

bool IsClosed { get; }

Property Value

bool

IsEmpty

bool IsEmpty { get; }

Property Value

bool

IsExterior

bool IsExterior { get; }

Property Value

bool

Length

double Length { get; }

Property Value

double

SpatialReference

ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

ToPoint

IPoint ToPoint { get; set; }

Property Value

IPoint

Methods

Close()

void Close()

Generalize(double)

void Generalize(double maxAllowableOffset)

Parameters

maxAllowableOffset double

GeoNormalize()

void GeoNormalize()

GeoNormalizeFromLongitude(double)

void GeoNormalizeFromLongitude(double Longitude)

Parameters

Longitude double

GetSubcurve(double, double, bool, out ICurve)

void GetSubcurve(double fromDistance, double toDistance, bool asRatio, out ICurve outSubcurve)

Parameters

fromDistance double
toDistance double
asRatio bool
outSubcurve ICurve

GetSubcurveEx(double, double, bool, bool, bool)

ICurve GetSubcurveEx(double fromDistance, double toDistance, bool asRatio, bool isCCW, bool useRingOrientation)

Parameters

fromDistance double
toDistance double
asRatio bool
isCCW bool
useRingOrientation bool

Returns

ICurve

Project(ISpatialReference)

void Project(ISpatialReference newReferenceSystem)

Parameters

newReferenceSystem ISpatialReference

QueryChordLengthTangents(int, IPoint, ref bool, IPoint, ref bool)

void QueryChordLengthTangents(int pointIndex, IPoint prevTangent, ref bool prevSetByUser, IPoint nextTangent, ref bool nextSetByUser)

Parameters

pointIndex int
prevTangent IPoint
prevSetByUser bool
nextTangent IPoint
nextSetByUser bool

QueryEnvelope(IEnvelope)

void QueryEnvelope(IEnvelope outEnvelope)

Parameters

outEnvelope IEnvelope

QueryFromPoint(IPoint)

void QueryFromPoint(IPoint from)

Parameters

from IPoint

QueryNormal(esriSegmentExtension, double, bool, double, ILine)

void QueryNormal(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine normal)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
Length double
normal ILine

QueryPoint(esriSegmentExtension, double, bool, IPoint)

void QueryPoint(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, IPoint outPoint)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
outPoint IPoint

QueryPointAndDistance(esriSegmentExtension, IPoint, bool, IPoint, ref double, ref double, ref bool)

void QueryPointAndDistance(esriSegmentExtension extension, IPoint inPoint, bool asRatio, IPoint outPoint, ref double DistanceAlongCurve, ref double distanceFromCurve, ref bool bRightSide)

Parameters

extension esriSegmentExtension
inPoint IPoint
asRatio bool
outPoint IPoint
DistanceAlongCurve double
distanceFromCurve double
bRightSide bool

QueryTangent(esriSegmentExtension, double, bool, double, ILine)

void QueryTangent(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine tangent)

Parameters

extension esriSegmentExtension
DistanceAlongCurve double
asRatio bool
Length double
tangent ILine

QueryToPoint(IPoint)

void QueryToPoint(IPoint to)

Parameters

to IPoint

Reshape(IPath)

bool Reshape(IPath reshapeSource)

Parameters

reshapeSource IPath

Returns

bool

ReshapeEx(IPath, out IGeometry, out IGeometry)

Creates two new polygons by using segments from the ring and from reshapeSource.

void ReshapeEx(IPath reshapeSource, out IGeometry leftResult, out IGeometry rightResult)

Parameters

reshapeSource IPath
leftResult IGeometry
rightResult IGeometry

ReverseOrientation()

void ReverseOrientation()

SetChordLengthTangents(int, IPoint, IPoint)

void SetChordLengthTangents(int pointIndex, IPoint prevTangent, IPoint nextTangent)

Parameters

pointIndex int
prevTangent IPoint
nextTangent IPoint

SetEmpty()

void SetEmpty()

Smooth(double)

void Smooth(double maxAllowableOffset)

Parameters

maxAllowableOffset double

SmoothLocal(int)

void SmoothLocal(int vertexIndex)

Parameters

vertexIndex int

SnapToSpatialReference()

void SnapToSpatialReference()