I use the following function to get the intersection of two polygons which have 
holes and the value returned is Geometry *. 
 
geos::precision::EnhancedPrecisionOp:: intersection(Poly_A,Poly_B); 
 
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 ? 
 
Thanks. 

_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
_______________________________________________
geos-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to