Computes bounding box of the objects. More...
Static Public Member Functions  
static void  Compute (const ModelData_Model &theSG, ModelData_Box &theBox, bool theForcedFlush=true) 
Returns a bounding box of a scene graph.  
static void  Compute (const ModelData_SceneGraphElement &theElement, ModelData_Box &theBox, bool theForcedFlush=true) 
Returns a bounding box of a scene graph element. More...  
static void  Compute (const ModelData_Representation &theRep, ModelData_Box &theBox) 
Returns a bounding box of a representation. More...  
static void  Compute (const ModelData_Representation &theRep, const ModelData_Transformation &theTransformation, ModelData_Box &theBox) 
Returns a bounding box of a representation. More...  
static void  Compute (const ModelData_Shape &theShape, const ModelData_Transformation &theTransformation, ModelData_Box &theBox) 
Returns a bounding box of a shape. More...  
static void  Compute (const ModelData_Face &theFace, ModelData_Box2d &theBox) 
Returns a bounding box of a face in 2D parametric space of a face surface. More...  
static void  ComputeMin (const ModelData_Part &thePart, ModelData_Box &theBox, ModelData_Transformation &theOutTransformation, bool theForcedFlush=true) 
Returns a minimum bounding box of a representation.  
static void  ComputeMin (const ModelData_Representation &theRep, ModelData_Box &theBox, ModelData_Transformation &theOutTransformation) 
Returns a minimum bounding box of a representation. More...  
static void  ComputeMin (const ModelData_Shape &theShape, ModelData_Box &theBox, ModelData_Transformation &theOutTransformation) 
Returns a minimum bounding box of a shape. More...  
static void  ComputeMin (const ModelData_Shape &theShape, const ModelData_Transformation &theTransformation, ModelData_Box &theBox, ModelData_Transformation &theOutTransformation) 
Returns a minimum bounding box of a shape. More...  
Computes bounding box of the objects.
Bounding box can be computed for the following types of objects:
A bounding box of a model is accumulation of bounding boxes of its roots.
A bounding box of an assembly is a cumulative bounding box of its children taking into account their transformation matrices.
A part's bounding box is accumulation of bounding boxes of available part's representations. If any representation is constructed with the provider(s) which has not been flushed yet then bounding box of such representation will be computed only if theForcedFlush is set to true. If theForcedFlush is set to false and the representation has not been constructed yet, the representation is ignored and its bounding box is not computed.
A bounding box of a BRep representation's or a BRep shape's can be different depending on whether the shape contains internal trianglation, which appears when invoking visualization mesher. If such triangulation is available then the bounding box is more accurate and close to exact geometry. Otherwise the bounding box can be larger than real geometry. Thus, it might be helpful to compute bounding box after invoking the visualization mesher. Mesh granularity also impacts on bounding box computations, so depending on the mesher parameters results can be slightly different.

static 
Returns a bounding box of a face in 2D parametric space of a face surface.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Populates theBox using pcurves of face edges.

static 
Returns a bounding box of a representation.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Computes bounding box of the representation theRep taking into account transformation theTransformation which is an accumulated transformation of an owning part.

static 
Returns a bounding box of a representation.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

static 
Returns a bounding box of a scene graph element.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

static 
Returns a bounding box of a shape.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

static 
Returns a minimum bounding box of a representation.

static 
Returns a minimum bounding box of a shape.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
theTransformation specifies the input transformation that must be applied to theShape before computing its bounding box.

static 
Returns a minimum bounding box of a shape.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
theTransformation specifies the input transformation that must be applied to theShape before computing its bounding box.