Revision 10174 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgVertex2D.java
DwgVertex2D.java | ||
---|---|---|
118 | 118 |
public void setTangentDir(double tangentDir) { |
119 | 119 |
this.tangentDir = tangentDir; |
120 | 120 |
} |
121 |
public Object clone(){ |
|
122 |
DwgVertex2D obj = new DwgVertex2D(index); |
|
123 |
this.fill(obj); |
|
124 |
return obj; |
|
125 |
} |
|
126 |
|
|
127 |
protected void fill(DwgObject obj){ |
|
128 |
super.fill(obj); |
|
129 |
DwgVertex2D myObj = (DwgVertex2D)obj; |
|
130 |
|
|
131 |
myObj.setBulge(bulge); |
|
132 |
myObj.setEndWidth(endWidth); |
|
133 |
myObj.setFlags(flags); |
|
134 |
myObj.setInitWidth(initWidth); |
|
135 |
myObj.setPoint(point); |
|
136 |
myObj.setTangentDir(tangentDir); |
|
137 |
} |
|
138 |
|
|
121 | 139 |
} |
Also available in: Unified diff