distance.js 306 B

12345678
  1. export var distanceDocs = {
  2. name: 'distance',
  3. category: 'Geometry',
  4. syntax: ['distance([x1, y1], [x2, y2])', 'distance([[x1, y1], [x2, y2]])'],
  5. description: 'Calculates the Euclidean distance between two points.',
  6. examples: ['distance([0,0], [4,4])', 'distance([[0,0], [4,4]])'],
  7. seealso: []
  8. };