BoundingBox2D.intersects Method

Parent Object: BoundingBox2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/BoundingBox2D.h>

Description

Test if this bounding box intersects with the specified bounding box.

Syntax

"boundingBox2D_var" is a variable referencing a BoundingBox2D object.
returnValue = boundingBox2D_var.intersects(boundingBox)
"boundingBox2D_var" is a variable referencing a BoundingBox2D object.

#include <Core/Geometry/BoundingBox2D.h>

returnValue = boundingBox2D_var->intersects(boundingBox);

Return Value

Type Description
boolean Returns true if the bounding boxes intersect.

Parameters

Name Type Description
boundingBox BoundingBox2D The bounding box to test intersection with.

Version

Introduced in version August 2014