/* */ }
/* */
/* */ static boolean pointIntersectPolygon2D(Vector3d normal, Point3d[] coord, Point3d point)
/* */ {
/* 2153 */ Point2d[] coord2D = new Point2d[coord.length];
/* 2154 */ Point2d pnt = new Point2d();
/* */
/* 2163 */ double absNrmX = Math.abs(normal.x);
/* 2164 */ double absNrmY = Math.abs(normal.y);
/* 2165 */ double absNrmZ = Math.abs(normal.z);
/* */ int axis;
/* */ int axis;
/* 2167 */ if (absNrmX > absNrmY)
/* 2168 */ axis = 0;
/* */ else {
/* 2170 */ axis = 1;
/* */ }
/* 2172 */ if (axis == 0) {
/* 2173 */ if (absNrmX < absNrmZ)
/* 2174 */ axis = 2;
/* */ }
/* 2176 */ else if ((axis == 1) &&
/* 2177 */ (absNrmY < absNrmZ)) {
/* 2178 */ axis = 2;
/* */ }
/* */
/* 2183 */ for (int i = 0; i < coord.length; i++) {
/* 2184 */ coord2D[i] = new Point2d();
/* */
/* 2186 */ switch (axis) {
/* */ case 0:
/* 2188 */ coord2D[i].x = coord[i].y;
/* 2189 */ coord2D[i].y = coord[i].z;