Cleanup: remove double spaces after a full-stop
This commit is contained in:
@@ -49,9 +49,9 @@ int Operators_Init(PyObject *module)
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
PyDoc_STRVAR(Operators_doc,
|
||||
"Class defining the operators used in a style module. There are five\n"
|
||||
"Class defining the operators used in a style module. There are five\n"
|
||||
"types of operators: Selection, chaining, splitting, sorting and\n"
|
||||
"creation. All these operators are user controlled through functors,\n"
|
||||
"creation. All these operators are user controlled through functors,\n"
|
||||
"predicates and shaders that are taken as arguments.");
|
||||
|
||||
static void Operators_dealloc(BPy_Operators *self)
|
||||
@@ -95,10 +95,10 @@ PyDoc_STRVAR(Operators_chain_doc,
|
||||
".. staticmethod:: chain(it, pred, modifier)\n"
|
||||
" chain(it, pred)\n"
|
||||
"\n"
|
||||
" Builds a set of chains from the current set of ViewEdges. Each\n"
|
||||
" ViewEdge of the current list starts a new chain. The chaining\n"
|
||||
" Builds a set of chains from the current set of ViewEdges. Each\n"
|
||||
" ViewEdge of the current list starts a new chain. The chaining\n"
|
||||
" operator then iterates over the ViewEdges of the ViewMap using the\n"
|
||||
" user specified iterator. This operator only iterates using the\n"
|
||||
" user specified iterator. This operator only iterates using the\n"
|
||||
" increment operator and is therefore unidirectional.\n"
|
||||
"\n"
|
||||
" :arg it: The iterator on the ViewEdges of the ViewMap. It contains\n"
|
||||
@@ -174,19 +174,19 @@ PyDoc_STRVAR(Operators_bidirectional_chain_doc,
|
||||
".. staticmethod:: bidirectional_chain(it, pred)\n"
|
||||
" bidirectional_chain(it)\n"
|
||||
"\n"
|
||||
" Builds a set of chains from the current set of ViewEdges. Each\n"
|
||||
" ViewEdge of the current list potentially starts a new chain. The\n"
|
||||
" Builds a set of chains from the current set of ViewEdges. Each\n"
|
||||
" ViewEdge of the current list potentially starts a new chain. The\n"
|
||||
" chaining operator then iterates over the ViewEdges of the ViewMap\n"
|
||||
" using the user specified iterator. This operator iterates both using\n"
|
||||
" using the user specified iterator. This operator iterates both using\n"
|
||||
" the increment and decrement operators and is therefore bidirectional.\n"
|
||||
" This operator works with a ChainingIterator which contains the\n"
|
||||
" chaining rules. It is this last one which can be told to chain only\n"
|
||||
" chaining rules. It is this last one which can be told to chain only\n"
|
||||
" edges that belong to the selection or not to process twice a ViewEdge\n"
|
||||
" during the chaining. Each time a ViewEdge is added to a chain, its\n"
|
||||
" chaining time stamp is incremented. This allows you to keep track of\n"
|
||||
" during the chaining. Each time a ViewEdge is added to a chain, its\n"
|
||||
" chaining time stamp is incremented. This allows you to keep track of\n"
|
||||
" the number of chains to which a ViewEdge belongs to.\n"
|
||||
"\n"
|
||||
" :arg it: The ChainingIterator on the ViewEdges of the ViewMap. It\n"
|
||||
" :arg it: The ChainingIterator on the ViewEdges of the ViewMap. It\n"
|
||||
" contains the chaining rule.\n"
|
||||
" :type it: :class:`ChainingIterator`\n"
|
||||
" :arg pred: The predicate on the ViewEdge that expresses the stopping condition.\n"
|
||||
@@ -347,7 +347,7 @@ PyDoc_STRVAR(
|
||||
".. staticmethod:: recursive_split(func, pred_1d, sampling=0.0)\n"
|
||||
" recursive_split(func, pred_0d, pred_1d, sampling=0.0)\n"
|
||||
"\n"
|
||||
" Splits the current set of chains in a recursive way. We process the\n"
|
||||
" Splits the current set of chains in a recursive way. We process the\n"
|
||||
" points of each chain (with a specified sampling) to find the point\n"
|
||||
" minimizing a specified function. The chain is split in two at this\n"
|
||||
" point and the two new chains are processed in the same way. The\n"
|
||||
@@ -362,14 +362,14 @@ PyDoc_STRVAR(
|
||||
" The splitting point is the point minimizing this function.\n"
|
||||
" :type func: :class:`UnaryFunction0DDouble`\n"
|
||||
" :arg pred_0d: The Unary Predicate 0D used to select the candidate\n"
|
||||
" points where the split can occur. For example, it is very likely\n"
|
||||
" points where the split can occur. For example, it is very likely\n"
|
||||
" that would rather have your chain splitting around its middle\n"
|
||||
" point than around one of its extremities. A 0D predicate working\n"
|
||||
" point than around one of its extremities. A 0D predicate working\n"
|
||||
" on the curvilinear abscissa allows to add this kind of constraints.\n"
|
||||
" :type pred_0d: :class:`UnaryPredicate0D`\n"
|
||||
" :arg pred_1d: The Unary Predicate expressing the recursivity stopping\n"
|
||||
" condition. This predicate is evaluated for each curve before it\n"
|
||||
" actually gets split. If pred_1d(chain) is true, the curve won't be\n"
|
||||
" condition. This predicate is evaluated for each curve before it\n"
|
||||
" actually gets split. If pred_1d(chain) is true, the curve won't be\n"
|
||||
" split anymore.\n"
|
||||
" :type pred_1d: :class:`UnaryPredicate1D`\n"
|
||||
" :arg sampling: The resolution used to sample the chain for the\n"
|
||||
@@ -504,7 +504,7 @@ static PyObject *Operators_sort(BPy_Operators * /*self*/, PyObject *args, PyObje
|
||||
PyDoc_STRVAR(Operators_create_doc,
|
||||
".. staticmethod:: create(pred, shaders)\n"
|
||||
"\n"
|
||||
" Creates and shades the strokes from the current set of chains. A\n"
|
||||
" Creates and shades the strokes from the current set of chains. A\n"
|
||||
" predicate can be specified to make a selection pass on the chains.\n"
|
||||
"\n"
|
||||
" :arg pred: The predicate that a chain must verify in order to be\n"
|
||||
@@ -560,7 +560,7 @@ static PyObject *Operators_create(BPy_Operators * /*self*/, PyObject *args, PyOb
|
||||
PyDoc_STRVAR(Operators_reset_doc,
|
||||
".. staticmethod:: reset(delete_strokes=True)\n"
|
||||
"\n"
|
||||
" Resets the line stylization process to the initial state. The results of\n"
|
||||
" Resets the line stylization process to the initial state. The results of\n"
|
||||
" stroke creation are accumulated if **delete_strokes** is set to False.\n"
|
||||
"\n"
|
||||
" :arg delete_strokes: Delete the strokes that are currently stored.\n"
|
||||
|
||||
Reference in New Issue
Block a user