Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 Rect3D(System::Windows::Media::Media3D::Point3D location, System::Windows::Media::Media3D::Size3D size);
public Rect3D (System.Windows.Media.Media3D.Point3D location, System.Windows.Media.Media3D.Size3D size);
new System.Windows.Media.Media3D.Rect3D : System.Windows.Media.Media3D.Point3D * System.Windows.Media.Media3D.Size3D -> System.Windows.Media.Media3D.Rect3D
Public Sub New (location As Point3D, size As Size3D)

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

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

Initializes a new instance of the Rect3D structure.

public:
 Rect3D(double x, double y, double z, double sizeX, double sizeY, double sizeZ);
public Rect3D (double x, double y, double z, double sizeX, double sizeY, double sizeZ);
new System.Windows.Media.Media3D.Rect3D : double * double * double * double * double * double -> System.Windows.Media.Media3D.Rect3D
Public Sub New (x As Double, y As Double, z As Double, sizeX As Double, sizeY As Double, sizeZ As Double)

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