Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateArcSegment
CreateCoordinateXY
CreateCoordinateXYM
CreateCoordinateXYZ
CreateCoordinateXYZM
CreateCurvePolygon
CreateCurveRing
CreateCurveString
CreateLinearRing
CreateLinearSegment
CreateLineString
CreateMultiCurvePolygon
CreateMultiCurveString
CreateMultiGeometry
CreateMultiLineString
CreateMultiPoint
CreateMultiPolygon
CreatePoint
CreatePolygon
MgGeometryFactory
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.

Comments or suggestions? Send us feedback.