JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / src / javajs / util / P3i.java
1 /*\r
2    Copyright (C) 1997,1998,1999\r
3    Kenji Hiranabe, Eiwa System Management, Inc.\r
4 \r
5    This program is free software.\r
6    Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),\r
7    conforming to the Java(TM) 3D API specification by Sun Microsystems.\r
8 \r
9    Permission to use, copy, modify, distribute and sell this software\r
10    and its documentation for any purpose is hereby granted without fee,\r
11    provided that the above copyright notice appear in all copies and\r
12    that both that copyright notice and this permission notice appear\r
13    in supporting documentation. Kenji Hiranabe and Eiwa System Management,Inc.\r
14    makes no representations about the suitability of this software for any\r
15    purpose.  It is provided "AS IS" with NO WARRANTY.\r
16 */\r
17 package javajs.util;\r
18 \r
19 \r
20 \r
21 /**\r
22  * A 3 element point that is represented by signed integer x,y,z coordinates.\r
23  * \r
24  * @since Java 3D 1.2\r
25  * @version specification 1.2, implementation $Revision: 1.9 $, $Date:\r
26  *          2006/07/28 17:01:33 $\r
27  * @author Kenji hiranabe\r
28  * \r
29  * \r
30  *         additions by Bob Hanson hansonr@stolaf.edu 9/30/2012 for unique\r
31  *         constructor and method names for the optimization of compiled\r
32  *         JavaScript using Java2Script\r
33  */\r
34 public class P3i extends T3i {\r
35 \r
36   public static P3i new3(int x, int y, int z) {\r
37     P3i pt = new P3i();\r
38     pt.x = x;\r
39     pt.y = y;\r
40     pt.z = z;\r
41     return pt;\r
42   }\r
43 }\r