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


ICurve.IsClosed Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICurve Interface > ICurve.IsClosed Property
ArcGIS Developer Help

ICurve.IsClosed Property

Indicates if 'from' and 'to' points (of each part) are identical.

[Visual Basic .NET]
Public ReadOnly Property IsClosed As Boolean
[C#]
public bool IsClosed {get;}
[C++]
HRESULT get_IsClosed(
  Boolean* IsClosed
);
[C++]
Parameters
IsClosed [out, retval]

IsClosed is a parameter of type bool*

Product Availability

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

Description

A curve is closed if the From and To points of each part of the curve are equal.

Remarks

IsClosed may still return TRUE if the curve consists of improperly constructed geometries (ex. non-continuous paths).  IsClosed only checks the location of the From and To points of each part, it does not check the internal parts for topological consistency.

ICurve IsClosed Example

See Also

ICurve Interface