AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgLineString* MgGeometryFactory::CreateLineString ( MgCoordinateCollection coordinates  )  [virtual]

Creates a line string from a collection of coordinates.

.NET Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);
Java Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);
PHP Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);

Parameters:
coordinates (MgCoordinateCollection) An MgCoordinateCollection that specifies the coordinates of the line string. The collection must contain at least two coordinates.
Returns:
An instance of MgLineString.