normalizeCoord(xcoord, ycoord, vertex1, coord_num);\r
\r
// 領域を準備する。\r
- NyARSquare square_ptr = o_square_stack.prePush();\r
+ NyARSquare square_ptr = (NyARSquare)o_square_stack.prePush();\r
\r
// 頂点情報を取得\r
if (!getSquareVertex(xcoord, ycoord, vertex1, coord_num, label_area, mkvertex)) {\r
i_buffer[i] = new NyARSquare();\r
}\r
}\r
-\r
- public NyARSquare prePush() throws NyARException\r
- {\r
- return (NyARSquare) super.prePush();\r
- }\r
}\r
}\r
}\r
\r
- public NyARLabelingLabel prePush() throws NyARException\r
- {\r
- return (NyARLabelingLabel) super.prePush();\r
- }\r
/**\r
* エリアの大きい順にラベルをソートします。\r
*/\r
}\r
}\r
\r
-\r
- public NyARIntPoint prePush() throws NyARException\r
- {\r
- return (NyARIntPoint) super.prePush();\r
- }\r
}\r
i_buffer[i] = new NyARIntRect();\r
}\r
}\r
-\r
-\r
- public NyARIntRect prePush() throws NyARException\r
- {\r
- return (NyARIntRect) super.prePush();\r
- }\r
}\r
break;\r
case 10:\r
/* コード特定→保管 */\r
- item = this._result.prePush();\r
+ item = (NyARIntRect)this._result.prePush();\r
item.x = x;\r
item.y = y;\r
item.w =s_pos-x;\r
* ポインタを1進めて、その要素を予約し、その要素へのポインタを返します。\r
* 特定型に依存させるときには、継承したクラスでこの関数をオーバーライドしてください。\r
*/\r
- public Object prePush() throws NyARException\r
+ public final Object prePush() throws NyARException\r
{\r
// 必要に応じてアロケート\r
if (this._length >= this._allocated_size) {\r