modeling/src/geometries/poly2/index.js

  1. /**
  2. * Represents a 2D polygon consisting of a list of ordered vertices.
  3. * @see {@link poly2} for data structure information.
  4. * @module modeling/geometries/poly2
  5. *
  6. * @example
  7. * poly2.create([[0,0], [4,0], [4,3]])
  8. *
  9. * @example
  10. * {"vertices": [[0,0], [4,0], [4,3]]}
  11. */
  12. module.exports = {
  13. arePointsInside: require('./arePointsInside'),
  14. create: require('./create'),
  15. flip: require('./flip'),
  16. measureArea: require('./measureArea')
  17. }