OrientedBoundingBox.DoOverlapOrTouch Method

Checks if two Oriented Bounding Boxes overlap or touch each other.
Public Shared Shadows Function DoOverlapOrTouch( _ 
ByVal first As OrientedBoundingBox, _ 
ByVal second As OrientedBoundingBox
) As Boolean
This language is not supported or no code example is available.
new public static bool DoOverlapOrTouch( 
OrientedBoundingBox first
OrientedBoundingBox second 
)
This language is not supported or no code example is available.

Parameters

first
OrientedBoundingBox

first oriented bounding box to check

second
OrientedBoundingBox

second oriented bounding box to check

Return Value

bool

False if a separation axis between the two boxes was found, true otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition