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
16 lines (15 loc) • 420 B
JavaScript
export default class MonotoneChain {
constructor() {
MonotoneChain.constructor_.apply(this, arguments)
}
static constructor_() {
this.mce = null
this.chainIndex = null
const mce = arguments[0], chainIndex = arguments[1]
this.mce = mce
this.chainIndex = chainIndex
}
computeIntersections(mc, si) {
this.mce.computeIntersectsForChain(this.chainIndex, mc.mce, mc.chainIndex, si)
}
}