BoundingBox2D.expand Method

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

Description

Expand this bounding box to contain the specified point.

Syntax

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

#include <Core/Geometry/BoundingBox2D.h>

returnValue = boundingBox2D_var->expand(point);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
point Point2D The point to expand the box to.

Version

Introduced in version August 2014