// 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 ../geometry ./dimensionUtils ../core/Clonable ../core/Cyclical ../core/JSONSupport ../core/accessorSupport/decorators/property ../core/accessorSupport/decorators/cast ../core/RandomLCG ../core/has ../core/accessorSupport/decorators/subclass ../core/accessorSupport/ensureType ../geometry/Point".split(" "),function(b,a,e,g,h,k,c,l,p,q,m,n,f){a=class extends k.JSONSupportMixin(g.Clonable){constructor(d){super(d);this.type="length";this.endPoint=this.startPoint=null;this.measureType= e.LengthDimensionMeasureType.Direct;this.orientation=this.offset=0}};b.__decorate([c.property({type:["length"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0);b.__decorate([c.property({type:f,json:{write:!0}})],a.prototype,"startPoint",void 0);b.__decorate([c.property({type:f,json:{write:!0}})],a.prototype,"endPoint",void 0);b.__decorate([c.property({type:e.lengthDimensionMeasureType,nonNullable:!0,json:{write:{isRequired:!0}}})],a.prototype,"measureType",void 0);b.__decorate([c.property({type:Number, nonNullable:!0,json:{write:{isRequired:!0}}})],a.prototype,"offset",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),l.cast(d=>h.cyclicalDegrees.normalize(n.ensureNumber(d),0,!0))],a.prototype,"orientation",void 0);return a=b.__decorate([m.subclass("esri.analysis.LengthDimension")],a)});