AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual STRING MgWktReaderWriter::Write ( MgGeometry geometry,
MgTransform transform 
) [virtual]

Writes a geometry object to a string in WKT format applying the specified transform during the write.

.NET Syntax
virtual string Write(MgGeometry geometry, MgTransform transform);
Java Syntax
virtual String Write(MgGeometry geometry, MgTransform transform);
PHP Syntax
virtual string Write(MgGeometry geometry, MgTransform transform);

Parameters:
geometry (MgGeometry) An MgGeometry object to write to WKT.
transform (MgTransform) An MgTransform that is used to transform each coordinate written to the WKT representation.
Returns:
A string that contains the transformed WKT representation.