Module parry2d::transformation::utils

source ·
Expand description

Utilities useful for various generations tasks.

Functions§

  • Pushes to out a set of points forming an arc starting at start, ending at end with revolution center at center. The curve is approximated by pushing nsubdivs points. The start and end point are not pushed to out.
  • Pushes a discretized counterclockwise circle to a buffer. The circle is contained on the plane spanned by the x and y axis.
  • Returns the transformed version of a vector of points.
  • Applies in-place a transformation to an array of points.
  • Returns the transformed version of a vector of points.