Source code: rcs/posemath/PmCircle.java
1 /*
2 * New Java File starts here.
3 * This file should be named PmCircle.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 PmCircle
17 * Automatically generated by RCS Java Diagnostics Tool.
18 * on Wed Jan 07 10:53:46 EST 1998
19 */
20 public class PmCircle
21 {
22 public PmCartesian center = new PmCartesian();
23 public PmCartesian normal = new PmCartesian();
24 public PmCartesian rTan = new PmCartesian();
25 public PmCartesian rPerp = new PmCartesian();
26 public PmCartesian rHelix = new PmCartesian();
27 public double radius = 0;
28 public double angle = 0;
29 public double spiral = 0;
30
31 public void update(NMLFormatConverter nml_fc)
32 {
33 center.update(nml_fc);
34 normal.update(nml_fc);
35 rTan.update(nml_fc);
36 rPerp.update(nml_fc);
37 rHelix.update(nml_fc);
38 radius = nml_fc.update(radius);
39 angle = nml_fc.update(angle);
40 spiral = nml_fc.update(spiral);
41
42 }
43 }
44