MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgGeometry* MgAgfReaderWriter::Read ( MgByteReader agf,
MgTransform transform 
) [virtual]

Reads a geometry object from a stream of bytes in AGF format applying the specified transform during the read.

.NET Syntax
virtual MgGeometry Read(MgByteReader agf, MgTransform transform);
Java Syntax
virtual MgGeometry Read(MgByteReader agf, MgTransform transform);
PHP Syntax
virtual MgGeometry Read(MgByteReader agf, MgTransform transform);
Parameters:
agf(MgByteReader) An MgByteReader that supplies the AGF byte stream.
transform(MgTransform) An MgTransform that is used to transform each coordinate read from the AGF representation.
Returns:
An instance of MgGeometry that corresponds to the specified AGF with the specified transform applied.