Click or drag to resize

PolyederAddFace Method (IReadOnlyListInt32)

[This is preliminary documentation and is subject to change.]

Adds a new face to the polyeder, using the provided vertexIndexes If a face already exists with the same vertex indexes, nothing is added and the index of the existing face is returned.

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public int AddFace(
	IReadOnlyList<int> vertexIndexes
)

Parameters

vertexIndexes
Type: System.Collections.GenericIReadOnlyListInt32
The list of vertex indexes that define the face

Return Value

Type: Int32
The 0-based index of the newly added (or existing) face
See Also