Limbo 3.5.4
Loading...
Searching...
No Matches
BookshelfParser::ShapeBox Struct Reference

shape box to describe one node shape More...

#include <BookshelfDataBase.h>

Inheritance diagram for BookshelfParser::ShapeBox:
BookshelfParser::Item

Public Member Functions

 ShapeBox (string &n, double x, double y, double w, double h)
 constructor
void reset ()
 reset all data members
Public Member Functions inherited from BookshelfParser::Item
virtual void print (ostream &) const
 print data members

Public Attributes

string name
 shape name
double origin [2]
 lower left corner of the box
double size [2]
 width and height

Detailed Description

shape box to describe one node shape

Definition at line 230 of file BookshelfDataBase.h.

Constructor & Destructor Documentation

◆ ShapeBox()

BookshelfParser::ShapeBox::ShapeBox ( string & n,
double x,
double y,
double w,
double h )
inline

constructor

Parameters
nshape name
xlower left coordinate
ylower left coordinate
wwidth
hheight

Definition at line 242 of file BookshelfDataBase.h.

Member Function Documentation

◆ reset()

void BookshelfParser::ShapeBox::reset ( )
inline

reset all data members

Definition at line 251 of file BookshelfDataBase.h.

Member Data Documentation

◆ name

string BookshelfParser::ShapeBox::name

shape name

Definition at line 232 of file BookshelfDataBase.h.

◆ origin

double BookshelfParser::ShapeBox::origin[2]

lower left corner of the box

Definition at line 233 of file BookshelfDataBase.h.

◆ size

double BookshelfParser::ShapeBox::size[2]

width and height

Definition at line 234 of file BookshelfDataBase.h.


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