1 /* File Point2S.java
2 *
3 * Project : geometry
4 *
5 * ===========================================
6 *
7 * This library is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 2.1 of the License, or (at
10 * your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE.
15 *
16 * See the GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library. if not, write to :
20 * The Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 * Boston, MA 02111-1307, USA.
22 *
23 * author : Legland
24 * Created on 31 mai 2004
25 */
26
27 package math.geom2s;
28
29 /**
30 * A point in spherical coordinates.
31 *
32 * @author Legland
33 */
34 public class Point2S implements Shape2S {
35
36 double phi;
37 double theta;
38
39 public Point2S(double phi, double theta) {
40 this.phi = phi;
41 this.theta = theta;
42 }
43
44 }