OrientedBoundingBox3D.contains Method

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

Description

Determines if the specified point lies within the oriented bounding box.

Syntax

"orientedBoundingBox3D_var" is a variable referencing an OrientedBoundingBox3D object.
returnValue = orientedBoundingBox3D_var.contains(point)
"orientedBoundingBox3D_var" is a variable referencing an OrientedBoundingBox3D object.

#include <Core/Geometry/OrientedBoundingBox3D.h>

returnValue = orientedBoundingBox3D_var->contains(point);

Return Value

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

Parameters

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

Samples

Name Description
Measure Sample Measure related functions

Version

Introduced in version December 2017