public Location getRefinedMaxPoint() { Location max = this.max.clone(); max.setX(max.getX() * this.getModel().getScaleX()); max.setY(max.getY() * this.getModel().getScaleY()); max.setZ(max.getZ() * this.getModel().getScaleZ()); max.setOwner(this.getModel().getLocation()); return(max); }
public Location getRefinedMinPoint() { Location min = this.min.clone(); min.setX(min.getX() * this.getModel().getScaleX()); min.setY(min.getY() * this.getModel().getScaleY()); min.setZ(min.getZ() * this.getModel().getScaleZ()); min.setOwner(this.getModel().getLocation()); return(min); }
public override void setModel(Model m) { base.setModel(m); min.setOwner(m.getLocation()); max.setOwner(m.getLocation()); }