| Web API Reference | MapGuide Open Source |
Inheritance diagram for MgPoint:

/// $geometryFactory = new MgGeometryFactory(); /// /// // create a coordinate /// $oordinate = $geometryFactory->CreateCoordinateXY(0,2); /// /// // create a point /// $point = $geometryFactory->CreatePoint($coordinate); /// /// // print out the Agf Text string for the geometry /// $pointAgfText = $wktReaderWriter->Write($point); /// /// echo "AGF Text representation of Point: $pointAgfTextn"; ///
Public Member Functions | |
| virtual MgGeometricEntity * | Copy () |
| virtual MgCoordinate * | GetCoordinate () |
| Gets the coordinate that defines this point. | |
| virtual MgCoordinateIterator * | GetCoordinates () |
| Returns an iterator over the coordinates included in this geometric entity. | |
| virtual INT32 | GetDimension () |
| virtual INT32 | GetGeometryType () |
| virtual bool | IsClosed () |
| virtual bool | IsEmpty () |
| virtual MgGeometricEntity * | Transform (MgTransform *transform) |
| Returns a transformed copy of this geometric entity. | |