Revision 5730 trunk/extensions/extCAD/sm/InternalPolygonCADTool.sm
InternalPolygonCADTool.sm | ||
---|---|---|
50 | 50 |
AddNextPoint{ |
51 | 51 |
end(); |
52 | 52 |
} |
53 |
addOption(s:String) |
|
54 |
AddNextPoint{ |
|
55 |
throwOptionException(PluginServices.getText(this,"incorrect_option"),s); |
|
56 |
} |
|
57 |
addValue(d:double) |
|
58 |
AddNextPoint{ |
|
59 |
throwValueException(PluginServices.getText(this,"incorrect_value"),d); |
|
60 |
} |
|
61 |
addPoint(pointX:double,pointY:double,event:InputEvent) |
|
62 |
AddNextPoint{ |
|
63 |
throwPointException(PluginServices.getText(this,"incorrect_point"),pointX,pointY); |
|
64 |
} |
|
53 | 65 |
} |
54 | 66 |
%% |
Also available in: Unified diff