Interface IPolygon5
Provides additional operations on polygons.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("186EA039-B97F-4006-A69E-FF10FEA6C3CE")]
public interface IPolygon5 : IPolygon4, IPolygon3, IPolygon2, IPolygon, IPolycurve, ICurve, IGeometry
Properties
ConnectedComponentBag
IGeometryBag ConnectedComponentBag { get; }
Property Value
Dimension
esriGeometryDimension Dimension { get; }
Property Value
Envelope
IEnvelope Envelope { get; }
Property Value
ExteriorRingBag
IGeometryBag ExteriorRingBag { get; }
Property Value
ExteriorRingCount
int ExteriorRingCount { get; }
Property Value
FromPoint
IPoint FromPoint { get; set; }
Property Value
GeometryType
esriGeometryType GeometryType { get; }
Property Value
InteriorRingBag[IRing]
IGeometryBag InteriorRingBag[IRing exteriorRing] { get; }
Parameters
exteriorRingIRing
Property Value
InteriorRingCount[IRing]
int InteriorRingCount[IRing exteriorRing] { get; }
Parameters
exteriorRingIRing
Property Value
IsClosed
bool IsClosed { get; }
Property Value
IsEmpty
bool IsEmpty { get; }
Property Value
IsEnvelope
Returns true if the shape of this polygon is equivalent to the polygon's bounding envelope.
bool IsEnvelope { get; }
Property Value
Length
double Length { get; }
Property Value
OutermostComponentBag
IGeometryBag OutermostComponentBag { get; }
Property Value
SpatialReference
ISpatialReference SpatialReference { get; set; }
Property Value
ToPoint
IPoint ToPoint { get; set; }
Property Value
Methods
Close()
void Close()
Densify(double, double)
void Densify(double maxSegmentLength, double maxDeviation)
Parameters
FindExteriorRing(IRing)
IRing FindExteriorRing(IRing interiorRing)
Parameters
interiorRingIRing
Returns
Generalize(double)
void Generalize(double maxAllowableOffset)
Parameters
maxAllowableOffsetdouble
GeoNormalize()
void GeoNormalize()
GeoNormalizeFromLongitude(double)
void GeoNormalizeFromLongitude(double Longitude)
Parameters
Longitudedouble
GetConnectedComponents(int, out IPolygon)
void GetConnectedComponents(int numComponentsRequested, out IPolygon components)
Parameters
GetConnectedComponents2(out IPolygon[])
void GetConnectedComponents2(out IPolygon[] components)
Parameters
componentsIPolygon[]
GetOutermostComponents(int, out int, out IPolygon, out bool)
void GetOutermostComponents(int numComponentsRequested, out int numComponentsReturned, out IPolygon components, out bool moreComponentsExist)
Parameters
GetOutermostComponents2(out IPolygon[], out bool)
void GetOutermostComponents2(out IPolygon[] components, out bool moreComponentsExist)
Parameters
GetSubcurve(double, double, bool, out ICurve)
void GetSubcurve(double fromDistance, double toDistance, bool asRatio, out ICurve outSubcurve)
Parameters
Project(ISpatialReference)
void Project(ISpatialReference newReferenceSystem)
Parameters
newReferenceSystemISpatialReference
QueryEnvelope(IEnvelope)
void QueryEnvelope(IEnvelope outEnvelope)
Parameters
outEnvelopeIEnvelope
QueryExteriorRings(ref IRing)
void QueryExteriorRings(ref IRing exteriorRings)
Parameters
exteriorRingsIRing
QueryExteriorRingsEx(int, out IRing)
void QueryExteriorRingsEx(int numExteriorRingsRequested, out IRing exteriorRings)
Parameters
QueryExteriorRingsEx2(out IRing[])
void QueryExteriorRingsEx2(out IRing[] exteriorRings)
Parameters
exteriorRingsIRing[]
QueryFromPoint(IPoint)
void QueryFromPoint(IPoint from)
Parameters
fromIPoint
QueryInteriorRings(IRing, ref IRing)
void QueryInteriorRings(IRing exteriorRing, ref IRing interiorRings)
Parameters
QueryInteriorRingsEx(IRing, int, out IRing)
void QueryInteriorRingsEx(IRing exteriorRing, int numInteriorRingsRequested, out IRing interiorRings)
Parameters
QueryInteriorRingsEx2(int, out IRing[])
void QueryInteriorRingsEx2(int exteriorRingIndex, out IRing[] interiorRings)
Parameters
QueryNormal(esriSegmentExtension, double, bool, double, ILine)
void QueryNormal(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine normal)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatioboolLengthdoublenormalILine
QueryPoint(esriSegmentExtension, double, bool, IPoint)
void QueryPoint(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, IPoint outPoint)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatiobooloutPointIPoint
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
extensionesriSegmentExtensioninPointIPointasRatiobooloutPointIPointDistanceAlongCurvedoubledistanceFromCurvedoublebRightSidebool
QueryTangent(esriSegmentExtension, double, bool, double, ILine)
void QueryTangent(esriSegmentExtension extension, double DistanceAlongCurve, bool asRatio, double Length, ILine tangent)
Parameters
extensionesriSegmentExtensionDistanceAlongCurvedoubleasRatioboolLengthdoubletangentILine
QueryToPoint(IPoint)
void QueryToPoint(IPoint to)
Parameters
toIPoint
ReverseOrientation()
void ReverseOrientation()
SetEmpty()
void SetEmpty()
SimplifyEx(bool, bool, bool)
void SimplifyEx(bool preserveFromToPoints, bool closeRings, bool useXORRule)
Parameters
SimplifyPreserveFromTo()
void SimplifyPreserveFromTo()
SimplifySpaghetti()
void SimplifySpaghetti()
Smooth(double)
void Smooth(double maxAllowableOffset)
Parameters
maxAllowableOffsetdouble
SnapToSpatialReference()
void SnapToSpatialReference()
SplitAtDistance(double, bool, bool, out bool, out int, out int)
void SplitAtDistance(double distance, bool asRatio, bool createPart, out bool SplitHappened, out int newPartIndex, out int newSegmentIndex)
Parameters
distancedoubleasRatioboolcreatePartboolSplitHappenedboolnewPartIndexintnewSegmentIndexint
SplitAtPoint(IPoint, bool, bool, out bool, out int, out int)
void SplitAtPoint(IPoint splitPoint, bool projectOnto, bool createPart, out bool SplitHappened, out int newPartIndex, out int newSegmentIndex)
Parameters
splitPointIPointprojectOntoboolcreatePartboolSplitHappenedboolnewPartIndexintnewSegmentIndexint
Weed(double)
void Weed(double maxAllowableOffsetFactor)
Parameters
maxAllowableOffsetFactordouble