modeling/src/utils/index.js

  1. /**
  2. * Utility functions of various sorts.
  3. * @module modeling/utils
  4. * @example
  5. * const { flatten, insertSorted } = require('@jscad/modeling').utils
  6. */
  7. module.exports = {
  8. areAllShapesTheSameType: require('./areAllShapesTheSameType'),
  9. degToRad: require('./degToRad'),
  10. flatten: require('./flatten'),
  11. fnNumberSort: require('./fnNumberSort'),
  12. insertSorted: require('./insertSorted'),
  13. radiusToSegments: require('./radiusToSegments'),
  14. radToDeg: require('./radToDeg')
  15. }