Gets a value indicating whether the specified testPoint is contained within the boundaries of a 3D rectangle defined by two other Point3Ds.

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static bool Rect3DContains(
	Point3D pointA,
	Point3D pointB,
	Point3D testPoint
)
Visual Basic
Public Shared Function Rect3DContains ( _
	pointA As Point3D, _
	pointB As Point3D, _
	testPoint As Point3D _
) As Boolean
JScript
public static function Rect3DContains(
	pointA : Point3D, 
	pointB : Point3D, 
	testPoint : Point3D
) : boolean

Parameters

pointA
Type: System.Windows.Media.Media3D..::..Point3D
The first Point3D defining the test box.
pointB
Type: System.Windows.Media.Media3D..::..Point3D
The second Point3D defining the test box.
testPoint
Type: System.Windows.Media.Media3D..::..Point3D
The Point3D to test.

Return Value

True if the testPoint is contained in the resulting rectangle, otherwise false.

See Also