Rediger

Del via


Rect3D.Contains Method

Definition

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

Overloads

Contains(Point3D)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

Contains(Rect3D)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

Contains(Double, Double, Double)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

Contains(Point3D)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

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

Parameters

point
Point3D

Point to be tested.

Returns

true if the specified point or rectangle is within the Rect3D, including its edges; false otherwise.

Remarks

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

Applies to

Contains(Rect3D)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

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

Parameters

rect
Rect3D

Rect3D to be tested.

Returns

true if the specified point or rectangle is within the Rect3D, including its edges; false otherwise.

Remarks

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

Applies to

Contains(Double, Double, Double)

Gets a value that indicates whether a specified Point3D is within the Rect3D, including its edges.

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

Parameters

x
Double

X-axis coordinate of the Point3D to be tested.

y
Double

Y-axis coordinate of the Point3D to be tested.

z
Double

Z-coordinate of the Point3D to be tested.

Returns

true if the specified point or rectangle is within the Rect3D, including its edges; false otherwise.

Remarks

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

Applies to