Package com.deadtroll.model

Examples of com.deadtroll.model.BoundingBox


        if (GeomUtil.pontoEmPoligono(pontoSelecao, (PoligonoFechado)objeto)) {
          selecionarObjeto(objeto);
          return true;
        }
      } else {
        BoundingBox bbox = objeto.getBoundingBox();
        if (pontoSelecao.getX() > bbox.getMinXY().getX() &&
          pontoSelecao.getX() < bbox.getMaxXY().getX() &&
          pontoSelecao.getY() > bbox.getMinXY().getY() &&
          pontoSelecao.getY() < bbox.getMaxXY().getY()) {
          selecionarObjeto(objeto);
          return true;
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.deadtroll.model.BoundingBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.