This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICurve Interface > ICurve.IsClosed Property (ArcObjects .NET 10.5 SDK) |
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(
VARIANT_BOOL* IsClosed
);
[C++]
Parameters IsClosed [out, retval] IsClosed is a parameter of type VARIANT_BOOL
A curve is closed if the From and To points of each part of the curve are equal.
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.