public void addCoordinate ( Coordinate coordinate ) { Coordinate [ ] newCoords = new Coordinate [ coordinates . length + 1 ] ; System . arraycopy ( coordinates , 0 , newCoords , 0 , coordinates . length ) ; newCoords [ coordinates . length ] = coordinate ; setCoordinates ( newCoords ) ; }
Add a coordinate to the path .