Rect3D.Contains 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
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)
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)
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
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)
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
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.