/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../chunks/_rollupPluginBabelHelpers","../chunks/tslib.es6","../geometry","../core/Clonable","../core/Cyclical","../core/JSONSupport","../core/maybe","../core/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/decorators/cast","../core/accessorSupport/decorators/subclass","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/persistable","../geometry/Point"],(function(e,r,t,o,i,s,p,a,l,c,n,u,y,d,h){"use strict";let b=function(r){function t(e){var t;return(t=r.call(this,e)||this).type="plane",t.position=null,t.heading=0,t.tilt=0,t.width=10,t.height=10,t}return e._inheritsLoose(t,r),t.prototype.equals=function(e){return this.heading===e.heading&&this.tilt===e.tilt&&p.equalsMaybe(this.position,e.position)&&this.width===e.width&&this.height===e.height},t}(o.ClonableMixin(s.JSONSupport));r.__decorate([a.property({readOnly:!0,json:{read:!1,write:!0}})],b.prototype,"type",void 0),r.__decorate([a.property({type:h}),d.persistable()],b.prototype,"position",void 0),r.__decorate([a.property({type:Number,nonNullable:!0,range:{min:0,max:360}}),d.persistable(),n.cast((e=>i.cyclicalDegrees.normalize(y.ensureNumber(e),0,!0)))],b.prototype,"heading",void 0),r.__decorate([a.property({type:Number,nonNullable:!0,range:{min:0,max:360}}),d.persistable(),n.cast((e=>i.cyclicalDegrees.normalize(y.ensureNumber(e),0,!0)))],b.prototype,"tilt",void 0),r.__decorate([a.property({type:Number,nonNullable:!0}),d.persistable()],b.prototype,"width",void 0),r.__decorate([a.property({type:Number,nonNullable:!0}),d.persistable()],b.prototype,"height",void 0),b=r.__decorate([u.subclass("esri.analysis.SlicePlane")],b);return b}));
