You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
2.6 KiB
8 lines
2.6 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("../../chunks/tslib.es6 ../../core/Clonable ../../core/Cyclical ../../core/JSONSupport ../../core/accessorSupport/decorators/property ../../core/accessorSupport/ensureType ../../core/RandomLCG ../../core/has ../../core/accessorSupport/decorators/subclass ../../core/accessorSupport/decorators/persistable ./voxelPlaneUtils ./VoxelSlice ../../chunks/persistableUrlUtils".split(" "),function(b,a,f,h,c,d,p,q,k,l,g,m,n){a=class extends a.ClonableMixin(h.JSONSupport){constructor(){super(...arguments); |
|
this.enabled=!0;this.id=this.href=null;this.label="";this.slices=this.sizeInPixel=this.point=this.normal=null;this.timeId=0;this.variableId=null}get orientation(){if(!Array.isArray(this.normal)||3!==this.normal.length)return 0;const [e]=g.computeOrientationTiltFromNormal(this.normal);return f.cyclicalDegrees.normalize(d.ensureNumber(e),0,!0)}get tilt(){if(!Array.isArray(this.normal)||3!==this.normal.length)return 0;const [,e]=g.computeOrientationTiltFromNormal(this.normal);return f.cyclicalDegrees.normalize(d.ensureNumber(e), |
|
0,!0)}};b.__decorate([c.property({type:Boolean,json:{default:!0,write:!0}})],a.prototype,"enabled",void 0);b.__decorate([c.property({type:String,json:{origins:{service:{read:n.read}},write:{enabled:!0,isRequired:!0}}}),l.persistable({origins:["web-scene"],type:"resource",prefix:"sections",compress:!0})],a.prototype,"href",void 0);b.__decorate([c.property({type:d.Integer,json:{write:{enabled:!0,isRequired:!0}}})],a.prototype,"id",void 0);b.__decorate([c.property({type:String,json:{write:!0}})],a.prototype, |
|
"label",void 0);b.__decorate([c.property({type:Number,clonable:!1,readOnly:!0,range:{min:0,max:360}})],a.prototype,"orientation",null);b.__decorate([c.property({type:Number,clonable:!1,readOnly:!0,range:{min:0,max:360}})],a.prototype,"tilt",null);b.__decorate([c.property({type:[Number],json:{write:{enabled:!0,isRequired:!0}}})],a.prototype,"normal",void 0);b.__decorate([c.property({type:[Number],json:{write:{enabled:!0,isRequired:!0}}})],a.prototype,"point",void 0);b.__decorate([c.property({type:[d.Integer], |
|
json:{write:{enabled:!0,isRequired:!0}}})],a.prototype,"sizeInPixel",void 0);b.__decorate([c.property({type:[m],json:{write:!0}})],a.prototype,"slices",void 0);b.__decorate([c.property({type:d.Integer,json:{default:0,write:!0}})],a.prototype,"timeId",void 0);b.__decorate([c.property({type:d.Integer,json:{write:{enabled:!0,isRequired:!0}}})],a.prototype,"variableId",void 0);return a=b.__decorate([k.subclass("esri.layers.voxel.VoxelSection")],a)}); |