ClosedXYZ

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

Indicates whether the entity is closed in X, Y and Z. Property of ICloseable.

bool ClosedXYZ { get; }

Property value

Type Value
ReadOnlyLine, Line true if the first vertex's X, Y and Z equal the last vertex's, using Digi3D.AI's real number comparison tolerance.
ReadOnlyPolygon, Polygon Always true, even if the first and last vertices have different Z coordinates.

A line with ClosedXYZ set to true also has Closed set to true. The reverse does not hold: a line whose first and last vertices differ only in Z has Closed set to true and ClosedXYZ set to false.

Exceptions

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