- multiple fixes in the Tcl commands (especially regarding the interchange between True/false and 1/0 values)
- updated the help for all Tcl Commands - in Tcl Shell, the 'help' command will add also a brief description for each command in the list
This commit is contained in:
@@ -12,6 +12,9 @@ class TclCommandInteriors(TclCommandSignaled):
|
||||
# array of all command aliases, to be able use old names for backward compatibility (add_poly, add_polygon)
|
||||
aliases = ['interiors']
|
||||
|
||||
description = '%s %s' % ("--", "Create a new Geometry object with the 'interiors' geo "
|
||||
"elements of the source object.")
|
||||
|
||||
# dictionary of types from Tcl command, needs to be ordered
|
||||
arg_names = collections.OrderedDict([
|
||||
('name', str)
|
||||
@@ -27,7 +30,8 @@ class TclCommandInteriors(TclCommandSignaled):
|
||||
|
||||
# structured help for current command, args needs to be ordered
|
||||
help = {
|
||||
'main': "Return the interiors of polygons as a list of Shapely geometry elements.",
|
||||
'main': "Create a new Geometry object with the 'interiors' geometric elements of "
|
||||
"the specified source Geometry object.",
|
||||
'args': collections.OrderedDict([
|
||||
('name', 'Name of the source Geometry object. Required.'),
|
||||
('outname', 'Name of the resulting Geometry object.')
|
||||
|
||||
Reference in New Issue
Block a user