Stg::Geom Class Reference

#include <stage.hh>

Public Member Functions

 Geom ()
 
 Geom (const Pose &p, const Size &s)
 
void Print (const char *prefix) const
 
void Zero ()
 

Public Attributes

Pose pose
 position
 
Size size
 extent
 

Detailed Description

Specify an object's basic geometry: position and rectangular size.

Constructor & Destructor Documentation

◆ Geom() [1/2]

Stg::Geom::Geom ( )
inline

Default constructor. Members pose and size use their default constructors.

◆ Geom() [2/2]

Stg::Geom::Geom ( const Pose & p,
const Size & s )
inline

construct from a prior pose and size

Member Function Documentation

◆ Print()

void Stg::Geom::Print ( const char * prefix) const
inline

Print geometry in human-readable format on stdout, with a prefix string

Parameters
prefixCharacter string to prepend to output, or NULL.

◆ Zero()

void Stg::Geom::Zero ( )
inline

Member Data Documentation

◆ pose

Pose Stg::Geom::pose

position

◆ size

Size Stg::Geom::size

extent


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