UNPKG

flatten-js

Version:

Javascript library for 2d geometry

1 lines 882 B
{"dependencies":[{"name":"C:\\Users\\alexbol\\WebstormProjects\\flatten-js\\package.json","includedInParent":true,"mtime":1520238055570},{"name":"C:\\Users\\alexbol\\WebstormProjects\\flatten-js\\node_modules\\flatten-interval-tree\\package.json","includedInParent":true,"mtime":1520238156082}],"generated":{"js":"let t=class t{constructor(t,h){this.low=t,this.high=h}get max(){return this.high}interval(h,i){return new t(h,i)}clone(){return new t(this.low,this.high)}less_than(t){return this.low<t.low||this.low==t.low&&this.high<t.high}equal_to(t){return this.low==t.low&&this.high==t.high}intersect(t){return!this.not_intersect(t)}not_intersect(t){return this.high<t.low||t.high<this.low}output(){return[this.low,this.high]}maximal_val(t,h){return Math.max(t,h)}val_less_than(t,h){return t<h}};module.exports=t;"},"hash":"6bdc3fe2f0640cc43afa05d104409e42","cacheData":{"env":{}}}