@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 3.18 kB
JavaScript
import{_ as e}from"../../../../chunks/tslib.es6.js";import o from"../../../../Color.js";import t from"../../../../core/Accessor.js";import{property as r}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/accessorSupport/ensureType.js";import"../../../../core/arrayUtils.js";import{subclass as i}from"../../../../core/accessorSupport/decorators/subclass.js";let s=class extends t{constructor(e){super(e),this.enabled=!0,this.glowColor=new o([255,127,0]),this.glowWidth=8,this.innerColor=new o([255,255,255]),this.innerWidth=.75,this.globalAlpha=.75}};e([r({type:Boolean})],s.prototype,"enabled",void 0),e([r({type:o})],s.prototype,"glowColor",void 0),e([r({type:Number})],s.prototype,"glowWidth",void 0),e([r({type:o})],s.prototype,"innerColor",void 0),e([r({type:Number})],s.prototype,"innerWidth",void 0),e([r({type:Number})],s.prototype,"globalAlpha",void 0),s=e([i("esri.views.3d.interactive.analysisTools.lineOfSight.LineOfSightLaserLineConfiguration")],s);let n=class extends t{constructor(e){super(e),this.size=.5,this.color=new o([255,127,0,.75])}};e([r({type:Number})],n.prototype,"size",void 0),e([r({type:o})],n.prototype,"color",void 0),n=e([i("esri.views.3d.interactive.analysisTools.lineOfSight.LineOfSightObserverConfiguration")],n);let p=class extends t{constructor(e){super(e),this.size=.5,this.visibleColor=new o([3,252,111,.75]),this.occludedColor=new o([252,3,69,.75]),this.undefinedColor=new o([127,127,127,.75])}};e([r({type:Number})],p.prototype,"size",void 0),e([r({type:o})],p.prototype,"visibleColor",void 0),e([r({type:o})],p.prototype,"occludedColor",void 0),e([r({type:o})],p.prototype,"undefinedColor",void 0),p=e([i("esri.views.3d.interactive.analysisTools.lineOfSight.LineOfSightTargetConfiguration")],p);class l extends t{constructor(e){super(e),this.innerWidth=2,this.outerWidth=8,this.visibleInnerColor=new o([3,252,111,1]),this.visibleOuterColor=new o([3,252,111,.15]),this.occludedInnerColor=new o([252,3,69,1]),this.occludedOuterColor=new o([252,3,69,.1]),this.undefinedInnerColor=new o([255,255,255,1]),this.undefinedOuterColor=new o([127,127,127,.2])}}e([r({type:Number})],l.prototype,"innerWidth",void 0),e([r({type:Number})],l.prototype,"outerWidth",void 0),e([r({type:o})],l.prototype,"visibleInnerColor",void 0),e([r({type:o})],l.prototype,"visibleOuterColor",void 0),e([r({type:o})],l.prototype,"occludedInnerColor",void 0),e([r({type:o})],l.prototype,"occludedOuterColor",void 0),e([r({type:o})],l.prototype,"undefinedInnerColor",void 0),e([r({type:o})],l.prototype,"undefinedOuterColor",void 0);let d=class extends t{constructor(e){super(e),this.laserLine=new s,this.observer=new n,this.target=new p,this.lineOfSight=new l}};e([r({type:s})],d.prototype,"laserLine",void 0),e([r({type:n})],d.prototype,"observer",void 0),e([r({type:p})],d.prototype,"target",void 0),e([r({type:l})],d.prototype,"lineOfSight",void 0),d=e([i("esri.views.3d.interactive.analysisTools.lineOfSight.LineOfSightToolConfiguration")],d);export{l as LineOfSightConfiguration,s as LineOfSightLaserLineConfiguration,n as LineOfSightObserverConfiguration,p as LineOfSightTargetConfiguration,d as LineOfSightToolConfiguration};