Rect3D Constructors

Definition

Initializes a new instance of the Rect3D structure.

Overloads

Rect3D(Point3D, Size3D)

Initializes a new instance of the Rect3D structure.

Rect3D(Double, Double, Double, Double, Double, Double)

Initializes a new instance of the Rect3D structure.

Rect3D(Point3D, Size3D)

Initializes a new instance of the Rect3D structure.

C#
public Rect3D(System.Windows.Media.Media3D.Point3D location, System.Windows.Media.Media3D.Size3D size);

Parameters

location
Point3D

Location of the new Rect3D.

size
Size3D

Size of the new Rect3D.

Remarks

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Rect3D(Double, Double, Double, Double, Double, Double)

Initializes a new instance of the Rect3D structure.

C#
public Rect3D(double x, double y, double z, double sizeX, double sizeY, double sizeZ);

Parameters

x
Double

X-axis coordinate of the new Rect3D.

y
Double

Y-axis coordinate of the new Rect3D.

z
Double

Z-axis coordinate of the new Rect3D.

sizeX
Double

Size of the new Rect3D in the X dimension.

sizeY
Double

Size of the new Rect3D in the Y dimension.

sizeZ
Double

Size of the new Rect3D in the Z dimension.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9