/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{expandPointInPlace as r}from"../aaBoundingRect.js";import{bezierCurveExtent as i}from"./bezierCurveUtils.js";import{circularCurveExtent as t}from"./circleUtils.js";import{deriveCircleFromCircularArc as o}from"./circularArcUtils.js";import{isCoordinate as s,isBezierCurve as c,isCircularArc as e,isEllipticArc4 as m}from"./curveUtils.js";import{deriveCircleFromEllipticArc4 as f}from"./ellipticArc4Utils.js";import{ellipticArcExtent as l}from"./ellipticArc7Utils.js";function n(n,p,u){if(s(u))return r(n,p),r(n,u),n;if(c(u))return i(n,p,u);if(e(u)){const r=o(p,u);return t(n,r)}if(m(u)){const r=f(p,u);return t(n,r)}return l(n,p,u)}export{n as curveExtent};
