/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../chunks/_rollupPluginBabelHelpers","../../../chunks/tslib.es6","../../../core/screenUtils","../../../core/Logger","../../../core/accessorSupport/ensureType","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/set","../../../core/accessorSupport/decorators/subclass","../../../chunks/vec3f64","../../interactive/SegmentLabels","../../interactive/support/viewUtils"],(function(e,t,r,s,o,n,c,a,i,l,u,p,S){"use strict";e.SegmentLabels3D=function(e){function r(){return e.apply(this,arguments)||this}t._inheritsLoose(r,e);var o=r.prototype;return o.getCameraOrExtent=function({view:e}){return e.state.camera},o.toScreenPointArray=function({view:e,elevationInfo:t,editGeometryOperations:r},o,n=s.createScreenPointArray()){const{spatialReference:c}=r.data.coordinateHelper;return S.vectorToRender(o,c,t,e,v),e.state.camera.projectToScreen(v,n),n},r}(p.SegmentLabels),e.SegmentLabels3D=r.__decorate([l.subclass("esri.views.3d.interactive.SegmentLabels3D")],e.SegmentLabels3D);const v=u.create();Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
