MapGuide API Reference
|
The MgGeometryFactory class is used to construct objects whose classes are derived from MgGeometry. More...
Public Member Functions | |
virtual MgArcSegment * | CreateArcSegment (MgCoordinate *start, MgCoordinate *end, MgCoordinate *control) |
Creates an arc segment from start, end, and control coordinates. | |
virtual MgCoordinate * | CreateCoordinateXY (double x, double y) |
Creates an MgCoordinate object with Dimension = XY, X = x, Y = y. | |
virtual MgCoordinate * | CreateCoordinateXYM (double x, double y, double m) |
Creates an MgCoordinate object with Dimension = XYM, X = x, Y = y, M = m. | |
virtual MgCoordinate * | CreateCoordinateXYZ (double x, double y, double z) |
Creates an MgCoordinate object with Dimension = XYZ, X = x, Y = y, Z = z. | |
virtual MgCoordinate * | CreateCoordinateXYZM (double x, double y, double z, double m) |
Creates an MgCoordinate object with Dimension = XYZM, X = x, Y = y, Z = z, M = m. | |
virtual MgCurvePolygon * | CreateCurvePolygon (MgCurveRing *outerRing, MgCurveRingCollection *innerRings) |
Creates a curve polygon from an outer ring and a collection of inner rings. | |
virtual MgCurveRing * | CreateCurveRing (MgCurveSegmentCollection *curveSegments) |
Creates a curve ring from a collection of curve segments. | |
virtual MgCurveString * | CreateCurveString (MgCurveSegmentCollection *curveSegments) |
Creates a curve string from a collection of curve segments. | |
virtual MgLinearRing * | CreateLinearRing (MgCoordinateCollection *coordinates) |
Creates a linear ring from a collection of coordinates. | |
virtual MgLinearSegment * | CreateLinearSegment (MgCoordinateCollection *coordinates) |
Creates a linear segment from a collection of coordinates. | |
virtual MgLineString * | CreateLineString (MgCoordinateCollection *coordinates) |
Creates a line string from a collection of coordinates. | |
virtual MgMultiCurvePolygon * | CreateMultiCurvePolygon (MgCurvePolygonCollection *polygons) |
Creates a multi curve polygon aggregate geometry from a collection of curve polygons. | |
virtual MgMultiCurveString * | CreateMultiCurveString (MgCurveStringCollection *curveStrings) |
Creates a multi curve string aggregate geometry from a collection of curve strings. | |
virtual MgMultiGeometry * | CreateMultiGeometry (MgGeometryCollection *geometries) |
Creates an aggregate geometry from a collection of geometry objects. | |
virtual MgMultiLineString * | CreateMultiLineString (MgLineStringCollection *lineStrings) |
Creates a multi line string aggregate geometry from a collection of line strings. | |
virtual MgMultiPoint * | CreateMultiPoint (MgPointCollection *points) |
Creates a multi point aggregate geometry from a collection of points. | |
virtual MgMultiPolygon * | CreateMultiPolygon (MgPolygonCollection *polygons) |
Creates a multi polygon aggregate geometry from a collection of polygons. | |
virtual MgPoint * | CreatePoint (MgCoordinate *coordinate) |
Creates a point from a coordinate. | |
virtual MgPolygon * | CreatePolygon (MgLinearRing *outerRing, MgLinearRingCollection *innerRings) |
Creates a polygon from an outer ring and a collection of inner rings. | |
MgGeometryFactory () | |
Creates an MgGeometryFactory object. |
The MgGeometryFactory class is used to construct objects whose classes are derived from MgGeometry.