aboutsummaryrefslogtreecommitdiff
path: root/src/XAxisChar.java
blob: 355af27b1b90e7f64aa5988d32e5cf802792388c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*     */ import java.awt.Color;
/*     */ import java.awt.Graphics;
/*     */ 
/*     */ public class XAxisChar extends Object3D
/*     */ {
/*     */   private Color color;
/*     */ 
/*     */   public XAxisChar(double xoff, double yoff, double zoff, double rotX, double rotY, double rotZ, CoordinateSystem graph, Color color)
/*     */   {
/* 129 */     super(new Point3D[][] { 
/*  15 */       { 
/*  17 */       new Point3D(-2.5D, 3.0D, 0.0D), 
/*  18 */       new Point3D(-2.5D, 2.0D, 0.0D), 
/*  19 */       new Point3D(-0.5D, 0.0D, 0.0D), 
/*  20 */       new Point3D(-2.5D, -3.0D, 0.0D), 
/*  21 */       new Point3D(-2.5D, -2.0D, 0.0D), 
/*  22 */       new Point3D(0.0D, -0.5D, 0.0D), 
/*  23 */       new Point3D(2.5D, -3.0D, 0.0D), 
/*  24 */       new Point3D(2.5D, -2.0D, 0.0D), 
/*  25 */       new Point3D(0.5D, 0.0D, 0.0D), 
/*  26 */       new Point3D(2.5D, 3.0D, 0.0D), 
/*  27 */       new Point3D(2.5D, 2.0D, 0.0D), 
/*  28 */       new Point3D(0.0D, 0.5D, 0.0D) }, 
/*  30 */       { 
/*  32 */       new Point3D(-2.5D, 3.0D, 3.0D), 
/*  33 */       new Point3D(-2.5D, 2.0D, 3.0D), 
/*  34 */       new Point3D(-0.5D, 0.0D, 3.0D), 
/*  35 */       new Point3D(-2.5D, -3.0D, 3.0D), 
/*  36 */       new Point3D(-2.5D, -2.0D, 3.0D), 
/*  37 */       new Point3D(0.0D, -0.5D, 3.0D), 
/*  38 */       new Point3D(2.5D, -3.0D, 3.0D), 
/*  39 */       new Point3D(2.5D, -2.0D, 3.0D), 
/*  40 */       new Point3D(0.5D, 0.0D, 3.0D), 
/*  41 */       new Point3D(2.5D, 3.0D, 3.0D), 
/*  42 */       new Point3D(2.5D, 2.0D, 3.0D), 
/*  43 */       new Point3D(0.0D, 0.5D, 3.0D) }, 
/*  45 */       { 
/*  47 */       new Point3D(0.0D, 0.5D, 0.0D), 
/*  48 */       new Point3D(0.0D, 0.5D, 3.0D), 
/*  49 */       new Point3D(-2.5D, 3.0D, 3.0D), 
/*  50 */       new Point3D(-2.5D, 3.0D, 0.0D) }, 
/*  52 */       { 
/*  54 */       new Point3D(-2.5D, 3.0D, 0.0D), 
/*  55 */       new Point3D(-2.5D, 3.0D, 3.0D), 
/*  56 */       new Point3D(-2.5D, 2.0D, 3.0D), 
/*  57 */       new Point3D(-2.5D, 2.0D, 0.0D) }, 
/*  59 */       { 
/*  61 */       new Point3D(-2.5D, 2.0D, 0.0D), 
/*  62 */       new Point3D(-2.5D, 2.0D, 3.0D), 
/*  63 */       new Point3D(-0.5D, 0.0D, 3.0D), 
/*  64 */       new Point3D(-0.5D, 0.0D, 0.0D) }, 
/*  66 */       { 
/*  68 */       new Point3D(-0.5D, 0.0D, 0.0D), 
/*  69 */       new Point3D(-0.5D, 0.0D, 3.0D), 
/*  70 */       new Point3D(-2.5D, -2.0D, 3.0D), 
/*  71 */       new Point3D(-2.5D, -2.0D, 0.0D) }, 
/*  73 */       { 
/*  75 */       new Point3D(-2.5D, -2.0D, 0.0D), 
/*  76 */       new Point3D(-2.5D, -2.0D, 3.0D), 
/*  77 */       new Point3D(-2.5D, -3.0D, 3.0D), 
/*  78 */       new Point3D(-2.5D, -3.0D, 0.0D) }, 
/*  80 */       { 
/*  82 */       new Point3D(-2.5D, -3.0D, 0.0D), 
/*  83 */       new Point3D(-2.5D, -3.0D, 3.0D), 
/*  84 */       new Point3D(0.0D, -0.5D, 3.0D), 
/*  85 */       new Point3D(0.0D, -0.5D, 0.0D) }, 
/*  87 */       { 
/*  89 */       new Point3D(0.0D, -0.5D, 0.0D), 
/*  90 */       new Point3D(0.0D, -0.5D, 3.0D), 
/*  91 */       new Point3D(2.5D, -3.0D, 3.0D), 
/*  92 */       new Point3D(2.5D, -3.0D, 0.0D) }, 
/*  94 */       { 
/*  96 */       new Point3D(2.5D, -3.0D, 0.0D), 
/*  97 */       new Point3D(2.5D, -3.0D, 3.0D), 
/*  98 */       new Point3D(2.5D, -2.0D, 3.0D), 
/*  99 */       new Point3D(2.5D, -2.0D, 0.0D) }, 
/* 101 */       { 
/* 103 */       new Point3D(2.5D, -2.0D, 0.0D), 
/* 104 */       new Point3D(2.5D, -2.0D, 3.0D), 
/* 105 */       new Point3D(0.5D, 0.0D, 3.0D), 
/* 106 */       new Point3D(0.5D, 0.0D, 0.0D) }, 
/* 108 */       { 
/* 110 */       new Point3D(0.5D, 0.0D, 0.0D), 
/* 111 */       new Point3D(0.5D, 0.0D, 3.0D), 
/* 112 */       new Point3D(2.5D, 2.0D, 3.0D), 
/* 113 */       new Point3D(2.5D, 2.0D, 0.0D) }, 
/* 115 */       { 
/* 117 */       new Point3D(2.5D, 2.0D, 0.0D), 
/* 118 */       new Point3D(2.5D, 2.0D, 3.0D), 
/* 119 */       new Point3D(2.5D, 3.0D, 3.0D), 
/* 120 */       new Point3D(2.5D, 3.0D, 0.0D) }, 
/* 122 */       { 
/* 124 */       new Point3D(2.5D, 3.0D, 0.0D), 
/* 125 */       new Point3D(2.5D, 3.0D, 3.0D), 
/* 126 */       new Point3D(0.0D, 0.5D, 3.0D), 
/* 127 */       new Point3D(0.0D, 0.5D, 0.0D) } }, 
/* 129 */       xoff, yoff, zoff, rotX, rotY, rotZ, graph);
/* 130 */     this.color = color;
/*     */   }
/*     */   public void invoke(Graphics g) {
/* 133 */     Color temp = g.getColor();
/* 134 */     g.setColor(this.color);
/* 135 */     super.invoke(g);
/* 136 */     g.setColor(temp);
/*     */   }
/*     */ }

/* Location:           Modulus.jar
 * Qualified Name:     XAxisChar
 * JD-Core Version:    0.6.2
 */