Click or drag to resize

PolyederExtensionsAddThreeDRectangleFaces Method

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

Adds 4 faces to the Polyeder, following a predefined order using the provided vertexIndexes (counter-clockwise). These 4 faces are the remaining faces of a 3D rectangle, of which 2 opposite facing faces have already been added to the polyeder.

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static void AddThreeDRectangleFaces(
	this Polyeder polyeder,
	IReadOnlyList<int> vertexIndexes
)

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder to which the faces should be added
vertexIndexes
Type: System.Collections.GenericIReadOnlyListInt32
The 8 vertex indexes which make up the corners of the square

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Polyeder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also