TessellatedShapeBuilder.AddFace
Method
Description:
Adds a face to the currently open connected face set.
Adds a face to the currently open connected face set.
Parameters
| Parameter | Type | Description |
|---|---|---|
| face | TessellatedFace | Face to add. The 'face' parameter can be added only once, as its boundary loops will be cleared while adding and 'face' will become unusable. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The 'face' does not have enough loops and/or vertices to be valid. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | A face set is closed and faces cannot be added to it. |