fills a rectangle of given size with the current state. If the rectangle specified is smaller than state, it crops the current state
the width
the hieght
uses the current state to populate a new space, but only upon a certain set of warps and wefts.
the weft system upon which to map this draft
the warp system upon which to map this draft
the pattern of weft systems along the wefts
the number of ends required in the output structure (based on the lcm of input warps)
the number of picks required in the output structure (based on the lcm of input wefts)
given a current warp and weft system, as well as a list of the weft and warp systems that have been assigned to layers "above" the current warp and weft system, this function will ensure that structures are assigned such that they fall just under the previous layers in the layer stack
the current warp systems we are considering
the warp systems that have been used in previous layers above this layer
the current weft systems we are considering
the weft systems that have been used in previous layers above this layer
a map of the weft systems used in this draft
a map of the warp systems used in this draft
adds a row to the first (or subsequent row) of the 2D sequence
the 1D sequence value to add
adds a col to the first (or subsequent col) of the 2D sequence
the 1D sequence value to add
this sets the value at a given location specified by i and j This function will only succesfully set a value if the current value in that place is "unset", otherwise it returns an error that it is attempting to overwrite a value
looks at the given warp. Sets any unset value in this warp to the value provided to the function
looks at the given weft. Sets any unset value in this weft to the value provided to the function
adds this weft to the front of the pattern
the 1D sequence value to add
adds this weft to the front of the pattern
the 1D sequence value to add
converts the current state to a drawdown format