MCPcopy Create free account
hub / github.com/beutton/browser-flight-simulator / at

Method at

packages/core/src/Rectangle.ts:68–73  ·  view source on GitHub ↗
(x: number, y: number, result = new Geodetic())

Source from the content-addressed store, hash-verified

66 }
67
68 at(x: number, y: number, result = new Geodetic()): Geodetic {
69 return result.set(
70 this.west + (this.east - this.west) * x,
71 this.north + (this.south - this.north) * y
72 )
73 }
74
75 fromArray(array: readonly number[], offset = 0): this {
76 this.west = array[offset]

Callers 2

getIntersectionMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected