Solid.CreateBox<T> Method

Creates a Box primitive.
Public Shared Function CreateBox(Of  _ 
T As {Solid, New})( _ 
ByVal width As Double, _ 
ByVal depth As Double, _ 
ByVal height As Double
) As T
This language is not supported or no code example is available.
public static T CreateBox<T>( 
double width
double depth
double height 

where T : Solid, new()
This language is not supported or no code example is available.

Type Parameters

T

Parameters

width
double

Size in X direction

depth
double

Size in Y direction

height
double

Size in Z direction

Return Value

T

The created solid.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition