Hi Jackie, 

Just one question, is the geometry cast just and (MgPolygon) geometry?, srry
about my ignorance. n.n' . I think i should use the geometry's Boundary
function. But i dunno how, i've looked everywhere without luck.
Plz help.

Thanks

Tom / Stygy 



Jackie Ng wrote:
> 
> Given a MgFeatureReader that contains your feature(s):
> 
> - Call its GetGeometry() method to get a byte reader
> - Convert this byte reader to a MgGeometry object by using a
> MgAgfReaderWriter object.
> - Call GetGeometryType() on the MgGeometry to determine what type of
> geometry it actually is.
> - Depending on the type, cast the MgGeometry to that given type (if not
> using PHP) and consult the relevant APIs for that derived geometry type.
> Basically you want to take note of any class methods that return MgPoint,
> MgCoordinate or MgCoordinateIterator objects.
> 
> Hope that helps.
> 
> - Jackie
> 
> 
> Tom Lazo wrote:
>> 
>> Hi all!,
>> 
>> Anyone knows how could i get the coordinates of the vertices of a
>> feature, Is there any function that do that?. Thanks.
>> 
>> Stygy / Tom
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Feature-Vertices-tp3205810p3221940.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to