UNPKG

@mkerkstra/jsts-cjs

Version:

A CommonJS fork of JSTS: A JavaScript library of spatial predicates and functions for processing geometry

22 lines (21 loc) 407 B
export default class Item { constructor() { Item.constructor_.apply(this, arguments) } static constructor_() { this._env = null this._item = null const env = arguments[0], item = arguments[1] this._env = env this._item = item } getItem() { return this._item } toString() { return 'Item: ' + this._env.toString() } getEnvelope() { return this._env } }