- /// \param theSize a size of created square
- AISObjectPtr createPreviewPlane(double theSize);
-
- /// Finds origin and maximum size of the shape
- /// \param theShape source shape
- /// \param theOrigin a shape center of mass
- /// \param theSize maximum of delta X, Y or Z
- void getShapeParameters(const std::shared_ptr<GeomAPI_Shape>& theShape,
- std::shared_ptr<GeomAPI_Pnt>& theOrigin,
- double& theSize);
-
- /// Calculate maximum bounding box size of sketch sub features
- /// \param theSketch source sketch to build sketch sub features bounding box
- /// \param theCentralPoint central point of the sketch sub features
- /// \return double value
- double getSketchBoundingBoxSize(const std::shared_ptr<ModelAPI_CompositeFeature>& theSketch,
- std::shared_ptr<GeomAPI_Pnt>& theCentralPnt);