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


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

ICurve3D.IsClosed3D Property

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

[Visual Basic .NET]
Public ReadOnly Property IsClosed3D As Boolean
[C#]
public bool IsClosed3D {get;}
[C++]
HRESULT get_IsClosed3D(
  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.
[C#]

 

 

        public static void GetIsClosed3D()

        {

               IGeometry polylineGeometry = GetPolylineGeometry();


               ICurve3D
 curve3D = polylineGeometry as ICurve3D;

               bool isClosed3D = curve3D.IsClosed3D;

               //isClosed3D = false

        }

See Also

ICurve3D Interface