/** Read a point array. * @param planetModel is the planet model. * @param inputStream is the input stream. * @return the array of points that was read. */ static GeoPoint[] readPointArray(final PlanetModel planetModel, final InputStream inputStream) throws IOException { return readHomogeneousArray(planetModel, inputStream, GeoPoint.class); }