BoundingBox2D.contains Method

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

Description

Determines if the specified point lies within the bounding box.

Syntax

"boundingBox2D_var" is a variable referencing a BoundingBox2D object.
returnValue = boundingBox2D_var.contains(point)
"boundingBox2D_var" is a variable referencing a BoundingBox2D object.

#include <Core/Geometry/BoundingBox2D.h>

returnValue = boundingBox2D_var->contains(point);

Return Value

Type Description
boolean Returns true if the point lies within the bounding box.

Parameters

Name Type Description
point Point2D The point to test containment with.

Version

Introduced in version August 2014