OrientedBoundingBox3D.setOrientation Method
Parent Object: OrientedBoundingBox3DDefined in namespace "adsk::core" and the header file is <Core/Geometry/OrientedBoundingBox3D.h>
Description
Sets the orientation of the oriented bounding box.
Syntax
"orientedBoundingBox3D_var" is a variable referencing an OrientedBoundingBox3D object.
|
Parameters
Name | Type | Description |
lengthDirection | Vector3D | A Vector3D object that defines the direction of the length of the oriented bounding box. The magnitude of the vector is ignored and just the direction is used. |
widthDirection | Vector3D | A Vector3D object that defines the direction of the width of the oriented bounding box. The magnitude of the vector is ignored and just the direction is used. The width direction must be perpendicular to the length direction. |