Points
Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG
Read/write vertices of the polygon's outer boundary.
public new Point3DCollection Points { get; }
Property value
A Point3DCollection, always the same instance for each polygon. The collection works directly on the outer boundary's vertices: every change applies to the polygon and updates its minimum and maximum coordinates. The last vertex must repeat the first; the collection does not add it.
If the polygon is read-only, methods modifying the collection throw InvalidOperationException.
This property hides ReadOnlyPolygon.Points, which returns a copy of the vertices made on the first read.
Example
var polígono = new Polygon(new Code("080100"));
polígono.Points.Add(new[]
{
new Point3D(0, 0, 0),
new Point3D(0, 100, 0),
new Point3D(100, 100, 0),
new Point3D(0, 0, 0),
});