Vector3D Explicit Conversion (Vector3D to Size3D)

 

Converts a Vector3D structure into a Size3D.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static explicit operator Size3D (
	Vector3D vector
)

Parameters

vector
Type: System.Windows.Media.Media3D.Vector3D

The vector to convert.

Return Value

Type: System.Windows.Media.Media3D.Size3D

The result of converting vector.

Because a Size3D structure cannot be negative, the absolute values of the X, Y and Z properties of the Vector3D structure are used.

.NET Framework
Available since 3.0
Return to top
Show: