AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgLinearRing* MgGeometryFactory::CreateLinearRing ( MgCoordinateCollection coordinates  )  [virtual]

Creates a linear ring from a collection of coordinates.

.NET Syntax
virtual MgLinearRing CreateLinearRing(MgCoordinateCollection coordinates);
Java Syntax
virtual MgLinearRing CreateLinearRing(MgCoordinateCollection coordinates);
PHP Syntax
virtual MgLinearRing CreateLinearRing(MgCoordinateCollection coordinates);

Parameters:
coordinates (MgCoordinateCollection) An MgCoordinateCollection that specifies the coordinates of the linear ring. The collection must contain at least three coordinates.
Returns:
An instance of MgLinearRing.