Click or drag to resize

PolyederExtensionsAddThreeDRectangles Method

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

Generate 3D rectangles between the provided points, with given width and height. At least 2 points must be provided.

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static void AddThreeDRectangles(
	this Polyeder polyeder,
	Point[] points,
	Length width,
	Length height,
	bool shouldConnectLastWithFirst = false
)

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder in which to generate the 3D rectangles
points
Type: Infrastructure.GeometryPoint
The points between which the rectangles should be generated
width
Type: Length
The width of the rectangles (Y-axis)
height
Type: Length
The height of the rectangles (Z-axis)
shouldConnectLastWithFirst (Optional)
Type: SystemBoolean
True if the last point should be connected with the first point, thus forming a closed geometry

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