"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[1797],{"./packages/math/polygonRayCast.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>polygonRayCast_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const polygonRayCast_stories={title:"Math/polygonRayCast",argTypes:{alpha:{control:{type:"number"},defaultValue:0,description:"The angle in radians of the ray.",table:{defaultValue:{summary:0}},type:{required:!1,summary:"number"}},origin:{control:{type:"array"},description:"The origin point of the ray to be cast, which should be an `[x, y]` formatted Array.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"array"}},poly:{control:{type:"array"},description:"The polygon to test against, which should be an `[x, y]` formatted Array.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"array"}}},parameters:{docs:{description:{component:"Gives the two closest intersection points between a ray cast from a point inside a polygon. The two points should lie on opposite sides of the origin."}}}}}}]);