title: Polygons with Double Coordinates
body: <p>I have some questions about Polygons with points of Double type...
  What I have  to do, is given points, create the polygon, and then, test if 1 concrete point is inside the polygon or not.</p>
  
  <p>so I kwnow that in Java there's a class, called Polygon, and is used like that: (triangle)</p>
  
  <pre><code>int valoresX[] = { 100, 150, 200 };
  int valoresY[] = { 100, 200, 100 };
  int n = valoresX.length;
  Polygon city= new Polygon(valoresX,valoresY,n);
  </code></pre>
  
  <p>But my "polygons" has to be of "Double" type, not "int" (easy example)</p>
  
  <pre><code>Double valoresX[] = { 1000.10, 150.10, 200.10 };
  Double valoresY[] = { 100.10, 200.10, 100.10 };
  </code></pre>
  
  <p>In my project i dont really need to paint it on an applet or similar, I just need to calculate if the point is inside or not.</p>
  
  <p>So my question is:</p>
  
  <p>Is any way to do polygons with double coordenates , that allow to calcultate if the point(double) is inside the polygon or not?</p>
  
  <p>Thanks for all!!!</p>
  
  <p>Shudy</p>