<p>Marco,</p>
<p>Thanks so much for your reply.  I am not at my machine right now so I can&#39;t try it.</p>
<p>The program I am writing calculates the intersection of two triangulated surfaces.  Right now it only takes point shapefiles as input for both surfaces.  A deluaney triangulation is constructed from the point files and the intersection in 3d space is calculated.  The program works but needs a lot of refinement at this point.  The code I asked you for help on adds points to the triangulation, and I am trying to limit the triangulation to a mask to reduce coputation time of the intersection routine.</p>

<p>When I get this working better I am planning to release it GPL (or whatever license is appropriate).  Maybe as a plugin to qgis.</p>
<p>Thanks again for your help.</p>
<p>Matt</p>
<p><blockquote type="cite">On Jul 30, 2009 10:22 PM, &quot;Hugentobler  Marco&quot; &lt;<a href="mailto:marco.hugentobler@karto.baug.ethz.ch">marco.hugentobler@karto.baug.ethz.ch</a>&gt; wrote:<br><br>Hi Matt<br>
<br>
currentGeometry2 is a pointer, so you need to use &#39;-&gt;&#39; instead of &#39;.&#39; to call a function.<br>
<br>
if(currentGeometry2-&gt;contains(currentPoint))<br>
<br>
should solve the problem.<br>
Btw, what kind of program do you write? &#39;delaunay_intersect&#39; sounds interesting...<br>
<br>
Regards,<br>
Marco<br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a> im Auftrag von Matthew Denno<br>
Gesendet: Fr 31.07.2009 07:02<br>
An: qgis-developer<br>
Betreff: [Qgis-developer] Trouble with QgsGeometry contains(QgsPoint *p)function<br>
<p><font color="#500050"> 
Hello Developers,


I am working on a little application using QGIS and am having trouble using
th...</font></p>non-class type &#39;QgsGeometry*&#39;<br>
<br>
</blockquote></p>