ArcObjects Library Reference (Geometry)  

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(
  VARIANT_BOOL* IsClosed
);
[C++]

Parameters

IsClosed [out, retval]   IsClosed is a parameter of type VARIANT_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