node-red-contrib-tak-registration
Version:
A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK
20 lines (19 loc) • 429 B
JavaScript
export default class MonotoneChain {
constructor () {
this.mce = null
this.chainIndex = null
const mce = arguments[0]
const chainIndex = arguments[1]
this.mce = mce
this.chainIndex = chainIndex
}
computeIntersections (mc, si) {
this.mce.computeIntersectsForChain(this.chainIndex, mc.mce, mc.chainIndex, si)
}
interfaces_ () {
return []
}
getClass () {
return MonotoneChain
}
}