Cuboid constructor. Two values are given for each coordinate axle and the cuboid is initalized based on these. If a value for certain axle is set to NaN, it is assumed to be 0.

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public Cuboid(
	double x1,
	double x2,
	double y1,
	double y2,
	double z1,
	double z2
)
Visual Basic
Public Sub New ( _
	x1 As Double, _
	x2 As Double, _
	y1 As Double, _
	y2 As Double, _
	z1 As Double, _
	z2 As Double _
)
JScript
public function Cuboid(
	x1 : double, 
	x2 : double, 
	y1 : double, 
	y2 : double, 
	z1 : double, 
	z2 : double
)

Parameters

x1
Type: System..::..Double
First value for the X axle.
x2
Type: System..::..Double
Second value for the X axle.
y1
Type: System..::..Double
First value for the Y axle.
y2
Type: System..::..Double
Second value for the Y axle.
z1
Type: System..::..Double
First value for the Z axle.
z2
Type: System..::..Double
Second value for the Z axle.

See Also