Rect3D.Intersect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Intersect(Rect3D) |
Finds the intersection of the current Rect3D and the specified Rect3D, and stores the result as the current Rect3D. |
Intersect(Rect3D, Rect3D) |
Returns the intersection of the specified Rect3D values. |
Intersect(Rect3D)
public:
void Intersect(System::Windows::Media::Media3D::Rect3D rect);
public void Intersect (System.Windows.Media.Media3D.Rect3D rect);
member this.Intersect : System.Windows.Media.Media3D.Rect3D -> unit
Public Sub Intersect (rect As Rect3D)
Parameters
Remarks
If the value of either specified rectangle is empty, this method returns an empty value.
Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.
Applies to
Intersect(Rect3D, Rect3D)
Returns the intersection of the specified Rect3D values.
public:
static System::Windows::Media::Media3D::Rect3D Intersect(System::Windows::Media::Media3D::Rect3D rect1, System::Windows::Media::Media3D::Rect3D rect2);
public static System.Windows.Media.Media3D.Rect3D Intersect (System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);
static member Intersect : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Rect3D -> System.Windows.Media.Media3D.Rect3D
Public Shared Function Intersect (rect1 As Rect3D, rect2 As Rect3D) As Rect3D
Parameters
Returns
Result of the intersection of rect1
and rect2
.
Remarks
If the value of either specified rectangle is empty, this method returns an empty value.
Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.
Applies to
.NET