CustomGraphicsCurve.boundingBox Property

Parent Object: CustomGraphicsCurve
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsCurve.h>

Description

Returns a box oriented parallel to the world x-y-x axes that contains the graphics entity. Depending on whether the graphics are drawn in model space or screen space this will return the bounding box in either centimeters (model) or pixels (screen). In the case where it returns the bounding box in pixel space, the Z coordinates of the box will be 0 and can be ignored.

Syntax

"customGraphicsCurve_var" is a variable referencing a CustomGraphicsCurve object.

# Get the value of the property.
propertyValue = customGraphicsCurve_var.boundingBox
"customGraphicsCurve_var" is a variable referencing a CustomGraphicsCurve object.
#include <Fusion/Graphics/CustomGraphicsCurve.h>

// Get the value of the property.
Ptr<BoundingBox3D> propertyValue = customGraphicsCurve_var->boundingBox();

Property Value

This is a read only property whose value is a BoundingBox3D.

Version

Introduced in version September 2017