[][src]Module codenano::transforms

Common geometric transforms on domains (most useful when working on grids or partial grids).

Functions

h_flip

Flip all the domains provided as input horizontally, i.e. relative to a vertical axis. This can be used on domains obtained with StrandRef::domains() method.

reverse

Reverse the direction of the list of domains provided as input, starting from the very last base back to the first one. This can be used on domains obtained with StrandRef::domains() method.

rotate

Rotate all the domains provided as input by 180°. This can be used on domains obtained with StrandRef::domains() method.

translate

Trnsalate all the domains provided as input by the specified number of helices (parameter dh) and bases (parameter dx). This can be used on domains obtained with StrandRef::domains() method.

v_flip

Flip all the domains provided as input vertically, i.e. relative to a horizontal axis. This can be used on domains obtained with StrandRef::domains() method.