AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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

Reads a geometry object from a string in WKT format applying the specified transform during the read.

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

Parameters:
wkt (String/string) A string that supplies the WKT representation.
transform (MgTransform) An MgTransform that is used to transform each coordinate read from the WKT representation.
Returns:
An instance of MgGeometry that corresponds to the specified WKT with the specified transform applied.