<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I use the following function to get the intersection of two polygons which have holes and the value returned is Geometry *. <BR>&nbsp;<BR>geos::precision::EnhancedPrecisionOp:: intersection(Poly_A,Poly_B); <BR>&nbsp;<BR>If getGeometryTypeId() tells me the geometry returned is a polygon, how can I get a pointer Polygon * from Geometry * safely ? If I convert it directly, is it always safe ? <BR>&nbsp;<BR>Thanks. <BR><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>