Click or drag to resize

PolyederExtensionsAddThreeDCube Method

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

Generate a 3D cube with a given size (width, height and length) from the origin of the provided coordinate system. The origin of the coordinate system will be at the center of the cube

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

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder to which to add the 3D cube
coordinateSystem
Type: Infrastructure.GeometryCoordinateSystem
The coordinate system at the center of the cube
size
Type: Length
The size of the cube in all directions (XYZ)

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