AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgGeometry* MgWktReaderWriter::Read ( CREFSTRING  wkt  )  [virtual]

Reads a geometry object from an AGF Text format.

.NET Syntax
virtual MgGeometry Read(string wkt);
Java Syntax
virtual MgGeometry Read(String wkt);
PHP Syntax
virtual MgGeometry Read(string wkt);

Parameters:
wkt (String/string) A string that supplies the AGF Text representation.
Returns:
An instance of MgGeometry that corresponds to the specified AGF Text.