Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: rcs/posemath/PmSpherical.java


1   /*
2   *  New Java File starts here.
3   *  This file should be named PmSpherical.java
4   */
5   
6   
7   // Set Package Name
8   package rcs.posemath;
9   
10  // Import all NML, CMS, and RCS classes and interfaces
11  import rcs.*;
12  import rcs.nml.*;
13  import rcs.utils.*;
14  
15  /*
16  *  Class definition for PmSpherical
17  *  Automatically generated by RCS Java Diagnostics Tool.
18  *  on Wed Jan 07 10:53:47 EST 1998
19  */
20  public class PmSpherical
21  {
22    public double theta = 0;
23    public double phi = 0;
24    public double r = 0;
25  
26    public void update(NMLFormatConverter nml_fc)
27    {
28      theta = nml_fc.update(theta);
29      phi = nml_fc.update(phi);
30      r = nml_fc.update(r);
31  
32    }
33  
34  
35    public PmSpherical(double starttheta, double startphi, double startr)
36    {
37      theta = starttheta;
38      phi = startphi;
39      r = startr;
40    }
41  
42    public PmSpherical()
43    {
44    }
45  
46  }
47