public float[] geographicToCartesianBorder(Sector sector, int numLat, int numLon, float height, Vec3 origin, float[] result) { if (sector == null) { throw new IllegalArgumentException( Logger.logMessage(Logger.ERROR, "Globe", "geographicToCartesianBorder", "missingSector")); } if (numLat < 1 || numLon < 1) { throw new IllegalArgumentException(Logger.logMessage(Logger.ERROR, "Globe", "geographicToCartesianBorder", "Number of latitude or longitude locations is less than one")); } if (result == null) { throw new IllegalArgumentException( Logger.logMessage(Logger.ERROR, "Globe", "geographicToCartesianBorder", "missingResult")); } return this.projection.geographicToCartesianBorder(this, sector, numLat, numLon, height, origin, result); }