Closed

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Indicates whether the entity is closed in the XY plane. Property of ICloseable.

bool Closed { get; }

Property value

Type Value
ReadOnlyLine, Line true if the first vertex's X and Y equal the last vertex's, using Digi3D.AI's real number comparison tolerance. Z is not compared.
ReadOnlyPolygon, Polygon Always true.

Exceptions

Exception When
InvalidOperationException The entity is a line with fewer than 2 vertices.