public Coordinate [ ] getCoordinates ( ) { if ( isEmpty ( ) ) { return null ; } Coordinate [ ] coordinates = new Coordinate [ points . length ] ; for ( int i = 0 ; i < points . length ; i ++ ) { coordinates [ i ] = points [ i ] . getCoordinate ( ) ; } return coordinates ; }
Get the full list of coordinates from all the points in this MultiPoint geometry . If this geometry is empty null will be returned .