AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgByteReader* MgAgfReaderWriter::Write ( MgGeometry geometry,
MgTransform transform 
) [virtual]

Writes a geometry object to a stream of bytes in AGF format applying the specified transform during the write.

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

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