Digi21.DigiNG.Entities

Assembly: Digi21.DigiNG

Types for drawing file entities (lines, points, text, polygons and complexes), their codes and geometric operations on them.

Each entity type has two classes:

  • The read-only class (ReadOnlyLine, ReadOnlyPoint, ReadOnlyText, ReadOnlyPolygon, ReadOnlyComplex) is returned by drawing files when iterating through their entities.
  • The read/write class (Line, Point, Text, Polygon, Complex) inherits from the preceding class, has public constructors and adds members that modify the entity.

An entity cannot be modified when it belongs to a drawing file (its Owner property is not null). To modify an entity read from a file, modify the copy returned by Clone().

Classes

Class Description
CodeCollection Collection of an entity's codes, returned by Entity.Codes.
Complex Read/write complex: an entity composed of other entities.
Entity Abstract base class of all entities.
GeometryFactory Extension methods creating new entities from others.
Line Read/write line.
Point Read/write point.
Polygon Read/write polygon: an outer boundary and its holes.
ReadOnlyComplex Read-only complex.
ReadOnlyLine Read-only line.
ReadOnlyPoint Read-only point.
ReadOnlyPolygon Read-only polygon.
ReadOnlyText Read-only text.
Text Read/write text.

Structures

Structure Description
Code Entity code: name and, optionally, a link to a database record.
SegmentPointer Reference to a line segment.
VertexPointer Reference to a line vertex.

Interfaces

Interface Description
IClippable Entities that can be split by a boundary line.
ICloseable Entities that can enclose an area.
IDirectionable Entities whose direction can be reversed.
ISnapable Entities in which the closest vertex or segment to a coordinate can be found.
ITrimable Entities from which a boundary line's enclosed area is subtracted.

Enumerations

Enumeration Description
PointPosition Coordinate's position relative to an enclosed area.
TextJustification Text insertion point.