Package curve.area
Class Neighbour
java.lang.Object
curve.area.Neighbour
-
Field Summary
Modifier and TypeFieldDescriptionareasprivate static Board
boardprivate static int
boardX, boardYprivate static int
boardX, boardYprivate static boolean
debugprivate static Colour[]
foundprivate static MyArea
foundAreaprivate static Colour
foundLineprivate static int
foundPtrlinesprivate static boolean
mouseMovedprivate static String
zz -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MyArea
checkOverArea
(int fX, int fY, Tr t) check Over Areastatic AreaPoint
checkOverAreaPoint
(int fx, int fy, Tr t) check over area pointstatic CtlPoint
checkOverCtlPoint
(int fx, int fy, Tr t) check over control pointstatic EndPoint
checkOverEndPoint
(int fx, int fy, Tr t) check over end pointstatic Line
checkOverLine
(int fx, int fy, Tr t) check over linestatic DPointWithID
checkOverPoint
(int fx, int fy, Tr t) check over pointstatic boolean
collectprivate static boolean
collectDot
(int bx, int by) collect Dotstatic void
dumpstatic Colour[]
get Neighboursstatic void
reset()
resetreturnOverMultipleEndPoints
(int fx, int fy, Tr t) return Over Multiple End Pointsstatic void
set boardstatic void
setMouseMoved
(boolean moved) setMouseMoved
-
Field Details
-
zz
zz -
mouseMoved
private static boolean mouseMovedmouseMoved -
areas
-
lines
-
boardX
private static int boardXboardX, boardY -
boardY
private static int boardYboardX, boardY -
board
board -
found
found -
foundPtr
private static int foundPtrfoundPtr -
debug
private static boolean debugdebug -
foundLine
foundLine -
foundArea
foundArea
-
-
Constructor Details
-
Neighbour
-
-
Method Details
-
setBoard
-
reset
public static void reset()reset -
setMouseMoved
public static void setMouseMoved(boolean moved) setMouseMoved- Parameters:
moved
- -
-
collect
collect- Parameters:
fx
- -fy
- -t
- -- Returns:
- found something
-
collectDot
private static boolean collectDot(int bx, int by) collect Dot- Parameters:
bx
- -by
- -- Returns:
- found Something
-
getNeighbours
-
checkOverLine
-
checkOverArea
-
checkOverPoint
check over point- Parameters:
fx
- -fy
- -t
- -- Returns:
- point
-
checkOverEndPoint
-
checkOverAreaPoint
-
checkOverCtlPoint
-
returnOverMultipleEndPoints
-
dump
-