"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[1452],{"./packages/math/largestRect.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>largestRect_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const largestRect_stories={title:"Math/largestRect",argTypes:{highestQuality:{control:{type:"boolean"},defaultValue:!1,description:"Excludes distance-based preprocessing step which leads to highest quality simplification but runs ~10-20 times slower.",table:{defaultValue:{summary:!1}},type:{required:!1,summary:"boolean"}},poly:{control:{type:"array"},description:"An Array of points that represent a polygon.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"array"}},tolerance:{control:{type:"number"},defaultValue:1,description:"Affects the amount of simplification (in the same metric as the point coordinates).",table:{defaultValue:{summary:1}},type:{required:!1,summary:"number"}}},parameters:{docs:{description:{component:"Simplifies the points of a polygon using both the Ramer-Douglas-Peucker algorithm and basic distance-based simplification. Adapted to an ES6 module from the excellent [Simplify.js](http://mourner.github.io/simplify-js/)."}}}}}}]);