예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public void scale(double amt)
 {
     min.setX(min.getX() * amt).setY(min.getY() * amt).setZ(min.getZ() * amt);
     max.setX(max.getX() * amt).setY(max.getY() * amt).setZ(max.getZ() * amt);
 }