Terminate a cable (cut box). More...
#include <cutSchema.h>
Public Member Functions | |
virtual void | place (double x, double y, int orientation) |
The input point is placed in the middle. | |
virtual void | draw (device &dev) |
A cut is represented by a small black dot. | |
virtual point | inputPoint (unsigned int i) |
By definition a Cut has only one input point. | |
virtual point | outputPoint (unsigned int i) |
By definition a Cut has no output point. | |
Private Member Functions | |
cutSchema () | |
A Cut is represented by a small black dot. | |
Friends | |
schema * | makeCutSchema () |
Creates a new Cut schema. |
Terminate a cable (cut box).
Definition at line 32 of file cutSchema.h.
cutSchema::cutSchema | ( | ) | [private] |
A Cut is represented by a small black dot.
It has 1 input and no outputs. It has a 0 width and a 1 wire height. The constructor is private in order to enforce the usage of makeCutSchema.
Definition at line 45 of file cutSchema.cpp.
00046 : schema (1, 0, 0, dWire) 00047 {}