API Reference > Namespaces > OdSi Namespace > Classes > BBox Class > BBox Constructor > BBox::BBox Constructor ()
BBox::BBox Constructor ()
Syntax
C++
BBox(); BBox(const BBox& source); BBox(const OdGePoint3d& base, const OdGeVector3d& side1, const OdGeVector3d& side2, const OdGeVector3d& side3); BBox(const OdGePoint3d& p1, const OdGePoint3d& p2);
Parameters 
Description 
const BBox& source 
[in] Object to be cloned. 
const OdGePoint3d& base 
[in] Base of parallelepiped bounding block.  
const OdGeVector3d& side1 
[in] First side of parallelepiped bounding block.  
const OdGeVector3d& side2 
[in] Second side of parallelepiped bounding block.  
const OdGeVector3d& side3 
[in] Third side of parallelepiped bounding block.  
const OdGePoint3d& p1 
[in] First point of a coordinate-aligned block.  
const OdGePoint3d& p2 
[in] Second point of a coordinate-aligned block.  

The default constructor constructs a parallelepiped reduced to the coordinate origin. 

A parallelepiped is a parallelogram extruded in an arbitrary direction.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.