FormIt C++ API  v23.0.0 (2023.0.0)
WSM::Utils::HistoryBoundsHelper Class Reference

Description

This is a helper class to find the bounds of the Objects that are visible in the Model. class HistoryBoundsHelper.

#include <historyboundshelper.h>

Public Member Functions

 HistoryBoundsHelper (size_t nHistoryID, ObjectTypes types=WSM::Utils::ObjectTypes::NONE)
 This constructor is for all objects in the given history. More...
 
 HistoryBoundsHelper (const 1::vector< WSM::GroupInstancePath > &aPaths, ObjectTypes types=WSM::Utils::ObjectTypes::NONE, bool inHCS=false)
 This constructor is for a vector of valid group instance paths. More...
 
WSM::Interval3d const & GetBoundsForVisible ()
 Returns the bounding box. More...
 
::pair< bool, 1::vector< WSM::Point3d > > GetBBPointsForVisible ()
 Return the 8 bounding box points. More...
 

Constructor & Destructor Documentation

WSM::Utils::HistoryBoundsHelper::HistoryBoundsHelper ( size_t  nHistoryID,
ObjectTypes  types = WSM::Utils::ObjectTypes::NONE 
)

This constructor is for all objects in the given history.

WSM::Utils::HistoryBoundsHelper::HistoryBoundsHelper ( const 1::vector< WSM::GroupInstancePath > &  aPaths,
ObjectTypes  types = WSM::Utils::ObjectTypes::NONE,
bool  inHCS = false 
)

This constructor is for a vector of valid group instance paths.

If inHCS is false, the bounding box will be in world space. Otherwise it will in the the space of the editing history

Member Function Documentation

::pair<bool, 1::vector<WSM::Point3d> > WSM::Utils::HistoryBoundsHelper::GetBBPointsForVisible ( )

Return the 8 bounding box points.

WSM::Interval3d const& WSM::Utils::HistoryBoundsHelper::GetBoundsForVisible ( )

Returns the bounding box.


The documentation for this class was generated from the following file: