Gets whether an intersection exists between a plane and an AABB box.

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

Syntax

C#
public static int GetPlaneAABBIntersection(
	Point3D planePoint,
	Vector3D planeNormal,
	Rect3D box
)
Visual Basic
Public Shared Function GetPlaneAABBIntersection ( _
	planePoint As Point3D, _
	planeNormal As Vector3D, _
	box As Rect3D _
) As Integer
JScript
public static function GetPlaneAABBIntersection(
	planePoint : Point3D, 
	planeNormal : Vector3D, 
	box : Rect3D
) : int

Parameters

planePoint
Type: System.Windows.Media.Media3D..::..Point3D
A Point3D belonging to the plane.
planeNormal
Type: System.Windows.Media.Media3D..::..Vector3D
A Vector3D normal to the plane.
box
Type: System.Windows.Media.Media3D..::..Rect3D
A Rect3D representing the AABB box to test.

Return Value

A negative value if the box is completely on back side of the plane, a positive value if the box is completely on the front side of the box or zero if the box intersects the plane.

See Also