com.github.ryanp102694.geometry.SearchRectangleObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-simple-quadtree Show documentation
Show all versions of java-simple-quadtree Show documentation
A simple quadtree written in java
The newest version!
package com.github.ryanp102694.geometry;
public class SearchRectangleObject extends AbstractRectangleObject {
public SearchRectangleObject(){
this.setX(0.0);
this.setY(0.0);
this.setW(0.0);
this.setH(0.0);
}
public SearchRectangleObject(Double x, Double y, Double w, Double h){
super(x,y,w,h);
this.setType("structure");
this.setId("testId");
}
public SearchRectangleObject(Double x, Double y, Double w, Double h, String id){
super(x,y,w,h);
this.setId(id);
}
}