"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUnitPinPosition = void 0;
const __1 = require("..");
const LINK_DISTANCE_1 = require("../../../../constant/LINK_DISTANCE");
const OPENING_1 = require("../../../../constant/OPENING");
const getUnitPinAngle_1 = require("./getUnitPinAngle");
const getUnitPinPosition = (i, n, t, r, x, y, R, o = OPENING_1.OPENING, l = LINK_DISTANCE_1.LINK_DISTANCE / 3) => {
    return (0, __1.polarToCartesian)(x, y, r + l + R + 4, (0, getUnitPinAngle_1.getUnitPinAngle)(i, n, t, o));
};
exports.getUnitPinPosition = getUnitPinPosition;
//# sourceMappingURL=getUnitPinPosition.js.map