Stg::BlockGroup Class Reference

#include <stage.hh>

Public Member Functions

 BlockGroup (Model &mod)
 
bounds3d_t BoundingBox () const
 
void DrawFootPrint (const Geom &geom)
 
const BlockGetBlock (unsigned int index) const
 
BlockGetBlockMutable (unsigned int index)
 
uint32_t GetCount () const
 
 ~BlockGroup ()
 

Public Attributes

Modelmod
 

Constructor & Destructor Documentation

◆ BlockGroup()

BlockGroup::BlockGroup ( Model & mod)
explicit

◆ ~BlockGroup()

BlockGroup::~BlockGroup ( )

Member Function Documentation

◆ BoundingBox()

bounds3d_t BlockGroup::BoundingBox ( ) const

Return the extremal points of all member blocks in all three axes.

find the 3d bounding box of all the blocks in the group

◆ DrawFootPrint()

void BlockGroup::DrawFootPrint ( const Geom & geom)

Draw the projection of the block group onto the z=0 plane.

◆ GetBlock()

const Block & Stg::BlockGroup::GetBlock ( unsigned int index) const
inline

◆ GetBlockMutable()

Block & Stg::BlockGroup::GetBlockMutable ( unsigned int index)
inline

◆ GetCount()

uint32_t Stg::BlockGroup::GetCount ( ) const
inline

Member Data Documentation

◆ mod

Model& Stg::BlockGroup::mod

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