// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.7/esri/copyright.txt for details. //>>built define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../core/tsSupport/paramHelper ../core/lang ../core/Logger ../core/accessorSupport/decorators ./Extent ./Geometry ./support/MeshComponent ./support/MeshVertexAttributes ./support/triangulationUtils ./support/meshUtils/centerAt ./support/meshUtils/offset ./support/meshUtils/primitives ./support/meshUtils/rotate".split(" "),function(J,K,x,g,y,t,z,d,r,A,n,B,C,D,E,k,l){var F=z.getLogger("esri.geometry.Mesh"), G=[1,0,0],H=[0,1,0],I=[0,0,1],p=[0,0,0],m=[0,0,0,0],u=[0,0,0,0],v=[0,0,0,0];return function(w){function b(a){a=w.call(this)||this;a.components=null;a.hasZ=!0;a.hasM=!1;a.vertexAttributes=null;a.type="mesh";return a}x(b,w);q=b;Object.defineProperty(b.prototype,"extent",{get:function(){var a=this.spatialReference,c=this.vertexAttributes&&this.vertexAttributes.position;if(!c||0===c.length||this.components&&0===this.components.length)return new r({xmin:0,ymin:0,zmin:0,xmax:0,ymax:0,zmax:0,spatialReference:a}); a={xmin:Infinity,xmax:-Infinity,ymin:Infinity,ymax:-Infinity,zmin:Infinity,zmax:-Infinity,spatialReference:a};if(!this.components)return new r(this.extendExtent(a,c,null));for(var b=0,e=this.components;b=d&&h