PageSourceSearch

https://hoydedata.no/LaserInnsyn2/assets/BoundingBox-D0ZcUVAR.js

js hoydedata.no collected 2026-09-24 19:16:31 UTC 1,443 bytes, 1 lines download raw bytes

1import{d0 as l,d1 as c}from"./index-DOEMLUVm.js";class a{constructor(t,i,e,h){this.transformedX=0,this.transformedY=0,this.center=l(t,i),this.centerT=c(),this.halfWidth=e/2,this.halfHeight=h/2,this.width=e,this.height=h}get x(){return this.center[0]}get y(){return this.center[1]}get blX(){return this.center[0]+this.halfWidth}get blY(){return this.center[1]+this.halfHeight}get trX(){return this.center[0]-this.halfWidth}get trY(){return this.center[1]-this.halfHeight}get xmin(){return this.x-this.halfWidth}get xmax(){return this.x+this.halfWidth}get ymin(){return this.y-this.halfHeight}get ymax(){return this.y+this.halfHeight}set x(t){this.center[0]=t}set y(t){this.center[1]=t}clone(){return new a(this.x,this.y,this.width,this.height)}serialize(t){return t.writeF32(this.center[0]),t.writeF32(this.center[1]),t.push(this.width),t.push(this.height),t}findCollisionDelta(t,i=4){const e=Math.abs(t.centerT[0]-this.centerT[0]),h=Math.abs(t.centerT[1]-this.centerT[1]),s=(t.halfWidth+this.halfWidth+i)/e,r=(t.halfHeight+this.halfHeight+i)/h,n=Math.min(s,r);return Math.log2(n)}extend(t){const i=Math.min(this.xmin,t.xmin),e=Math.min(this.ymin,t.ymin),h=Math.max(this.xmax,t.xmax)-i,s=Math.max(this.ymax,t.ymax)-e,r=i+h/2,n=e+s/2;this.width=h,this.height=s,this.halfWidth=h/2,this.halfHeight=s/2,this.x=r,this.y=n}static deserialize(t){const i=t.readF32(),e=t.readF32(),h=t.readInt32(),s=t.readInt32();return new a(i,e,h,s)}}export{a as i};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.