DividedSurface.GetTileReference
Method
Description:
Get a reference to one of the tile surfaces associated with a given seed node.
Get a reference to one of the tile surfaces associated with a given seed node.
Parameters
| Parameter | Type | Description |
|---|---|---|
| gridNode | GridNode | |
| tileIndex | Int32 | An integer between 0 and T-1, where T is <a href="daa137f9-ca93-0838-9c65-4d49955c066b.htm">TilesPerSeedNode</a>. |
Return Value
| Type | Description |
|---|---|
| Reference | A reference to a Face (surface). Returns if the grid node is not a "seed node", or if the tile is omitted due to boundary conditions. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the grid node is outside of the range specified by NumberOfUGridlines and NumberOfVGridlines, or if tileIndex is outside the range [0, TilesPerSeedNode-1]. |