Click or drag to resize

PolyederExtensionsAddOneDSquare Method

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

Creates a 1D square by adding 4 new points and 1 face to the polyeder which together from a square of given size. The square will always be in the Z = 0 plane

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static (int[] , int FaceIndex) AddOneDSquare(
	this Polyeder polyeder,
	CoordinateSystem coordinateSystem,
	Length size
)

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder to add the square to
coordinateSystem
Type: Infrastructure.GeometryCoordinateSystem
The coordinate system in which the points should be created
size
Type: Length
The size of the rectangle

Return Value

Type: ValueTupleInt32, Int32
The indexes of the vertices and face

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