Click or drag to resize

PolyederExtensionsAddThreeDRectangle Method (Polyeder, Line, Length, Length, CoordinateSystemAdjustment)

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

Generate a 3D rectangle with given width and height, based on the provided line. The line represents the X-axis and runs through the center of the rectangle

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static void AddThreeDRectangle(
	this Polyeder polyeder,
	Line line,
	Length width,
	Length height,
	CoordinateSystemAdjustment coordinateSystemAdjustment = null
)

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder in which to create the 3D rectangle
line
Type: Infrastructure.Geometry.CurvesLine
The line that represents the center axis of the rectangle
width
Type: Length
The width of the rectangle
height
Type: Length
The height of the rectangle
coordinateSystemAdjustment (Optional)
Type: Infrastructure.GeometryCoordinateSystemAdjustment
Optional adjustment of the local coordinate system

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