Back to project page sbicktAndroid.
The source code is released under:
GNU General Public License
If you think the Android project sbicktAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * ################################################# * # s'bickt Android Client # * # Bildungseinrichtung: Fachhochschule Salzburg # * # Studiengang: MultiMediaTechnology # * # Zweck: Qualifikationsprojekt # * ################################################# *//from w w w .ja va 2 s. com * This is the client for the augmented reality and social community app s'bickt * Copyright Alexander Flatscher, Ismail Hanli * * This file is part of s'bickt. * * S'bickt is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * S'bickt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with s'bickt. If not, see <http://www.gnu.org/licenses/>. */ package geotag.core; import android.location.Location; public class Point3D { public double x; public double y; public double z; public Point3D(double d, double e, double f){ x = d; y = e; z = f; } public Point3D(double coordinates[]){ x = coordinates[0]; y = coordinates[1]; z = coordinates[2]; } public Point3D(Location location){ x = location.getLatitude(); y = location.getLongitude(); z = location.getAltitude(); } }