Region2d.Item Property

Indexed direct access to the polys in the region. Setting a poly will clone this poly before inserting it into the region. Indexing an empty region will throw an exception.
public Poly2d this
   int idx 
] {get; set;}

Parameters

idx
int

The index of the poly to get/set. This index is circular and will wrap over both negative and positive, which means index -1 is the last region in the poly.

Property Value

Poly2d

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition