shape class
A shape is derived from a dbObj, so it can have properties. Shapes have layer and net information; a shape is not normally used directly but one of its derived classes is instead.
shape::layer(int16_t lyr)
Set the layer number of this shape.
int16_t shape::layer()
Get the layer number of this shape.
shape::setNet(net *n)
Set the net associated with this shape.
net * shape::getNet()
Get the net associated with this shape.
const char * shape::getNetName()
Get the net name of the net associated with this shape.