"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[1889],{"./packages/math/polygonRotate.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>polygonRotate_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const polygonRotate_stories={title:"Math/polygonRotate",argTypes:{alpha:{control:{type:"number"},description:"The angle in radians to rotate.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"number"}},origin:{control:{type:"array"},defaultValue:"[0, 0]",description:"The origin point of the rotation, which should be an `[x, y]` formatted Array.",table:{defaultValue:{summary:"[0, 0]"}},type:{required:!1,summary:"array"}},poly:{control:{type:"array"},description:"The polygon to be rotated, which should be an Array of `[x, y]` values.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"array"}}},parameters:{docs:{description:{component:"Rotates a point around a given origin."}}}}}}]);