AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgLinearSegment* MgGeometryFactory::CreateLinearSegment ( MgCoordinateCollection coordinates  )  [virtual]

Creates a linear segment from a collection of coordinates.

.NET Syntax
virtual MgLinearSegment CreateLinearSegment(MgCoordinateCollection coordinates);
Java Syntax
virtual MgLinearSegment CreateLinearSegment(MgCoordinateCollection coordinates);
PHP Syntax
virtual MgLinearSegment CreateLinearSegment(MgCoordinateCollection coordinates);

Parameters:
coordinates (MgCoordinateCollection) An MgCoordinateCollection that specifies the coordinates of the linear segment. The collection must contain at least two coordinates.
Returns:
An instance of MgLinearSegment.