Computes bounding boxes of objects. More...
Static Public Member Functions | |
static void | Compute (const ModelData::Model &theModel, ModelData::Box &theBox) |
static void | Compute (const ModelData::ModelElement &theElement, ModelData::Box &theBox) |
static void | Compute (const ModelData::Body &theBody, ModelData::Box &theBox) |
static void | Compute (const ModelData::Shape &theShape, const Geom::Transformation &theTransformation, ModelData::Box &theBox) |
static void | ComputeMin (const ModelData::Shape &theShape, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
static void | ComputeMin (const ModelData::Shape &theShape, const Geom::Transformation &theTransformation, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
static void | ComputeOptimal (const ModelData::Model &theModel, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
Returns an optimal bounding box. | |
static void | ComputeOptimal (const ModelData::Part &thePart, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
Returns an optimal bounding box. | |
static void | ComputeOptimal (const ModelData::Body &theBody, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
Returns an optimal bounding box. | |
static void | ComputeOptimal (const ModelData::Shape &theShape, ModelData::Box &theBox, Geom::Transformation &theOutTransformation) |
Returns an optimal bounding box. | |
Computes bounding boxes of 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.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
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 |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
theOutTransformation specifies the output transformation that was applied to theShape before computing its bounding box.
|
static |
Returns an optimal bounding box.
theOutTransformation specifies the output transformation that was applied to theBody before computing its bounding box.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
Returns an optimal bounding box.
theOutTransformation specifies the output transformation that was applied to theModel roots before computing its bounding box.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
Returns an optimal bounding box.
theOutTransformation specifies the output transformation that was applied to thePart before computing its bounding box.
|
static |
Returns an optimal bounding box.
theOutTransformation specifies the output transformation that was applied to theShape before computing its bounding box.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.