Rect3D.Contains 方法

定義

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

多載

Contains(Point3D)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

Contains(Rect3D)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

Contains(Double, Double, Double)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

Contains(Point3D)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

public:
 bool Contains(System::Windows::Media::Media3D::Point3D point);
public bool Contains (System.Windows.Media.Media3D.Point3D point);
member this.Contains : System.Windows.Media.Media3D.Point3D -> bool
Public Function Contains (point As Point3D) As Boolean

參數

point
Point3D

要測試的點。

傳回

Boolean

如果所指定點或矩形連同邊緣都在 Rect3D 的範圍內,則為 true;否則為 false。

備註

Rect3D 通常用來表示 或 Model3DMeshGeometry3D 界限。

適用於

Contains(Rect3D)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

public:
 bool Contains(System::Windows::Media::Media3D::Rect3D rect);
public bool Contains (System.Windows.Media.Media3D.Rect3D rect);
member this.Contains : System.Windows.Media.Media3D.Rect3D -> bool
Public Function Contains (rect As Rect3D) As Boolean

參數

rect
Rect3D

要測試的 Rect3D

傳回

Boolean

如果所指定點或矩形連同邊緣都在 Rect3D 的範圍內,則為 true;否則為 false。

備註

Rect3D通常用來表示 或 Model3DMeshGeometry3D 界限。

適用於

Contains(Double, Double, Double)

取得值,此值會指出指定的 Point3D 是否位於 Rect3D,包含其邊緣。

public:
 bool Contains(double x, double y, double z);
public bool Contains (double x, double y, double z);
member this.Contains : double * double * double -> bool
Public Function Contains (x As Double, y As Double, z As Double) As Boolean

參數

x
Double

要測試之 Point3D 的 X 軸座標。

y
Double

要測試之 Point3D 的 Y 軸座標。

z
Double

要測試之 Point3D 的 Z 座標。

傳回

Boolean

如果指定的點或矩形連同邊緣在 Rect3D 的範圍內則為 true,否則為 false

備註

Rect3D通常用來表示 或 Model3DMeshGeometry3D 界限。

適用於