These pages are auto-generated from self-documenting comments embedded
in class files.
For more information on breve and steve, refer to the
breve homepage.
- get-location
- get-moore-neighborhood
- get-patch-above
- get-patch-below
- get-patch-to-east
- get-patch-to-left
- get-patch-to-lower-left
- get-patch-to-lower-right
- get-patch-to-north
- get-patch-to-right
- get-patch-to-south
- get-patch-to-upper-left
- get-patch-to-upper-right
- get-patch-to-west
- get-patch-towards-minus-x
- get-patch-towards-minus-x-minus-y
- get-patch-towards-minus-x-plus-y
- get-patch-towards-minus-y
- get-patch-towards-minus-z
- get-patch-towards-plus-x
- get-patch-towards-plus-x-minus-y
- get-patch-towards-plus-x-plus-y
- get-patch-towards-plus-y
- get-patch-towards-plus-z
- get-von-neumann-neighborhood
- get-x-index
- get-y-index
- get-z-index
- init-patch
- set-color
- set-transparency
- update-colors
Returns a list of the 2D Moore neighborhood, using the X/Y plane. If you intend to use the neighborhood frequently, you should call this method once and keep a copy of the list.
Returns the patch towards (0, 1, 0).
Returns the patch towards (0, -1, 0).
Assumes that the patches are being observed from an XZ-plane. Returns the patch towards (1, 0, 0).
Returns the patch towards (-1, 0, 0).
Returns the patch towards (-1, -1, 0).
Returns the patch towards (1, -1, 0).
Assumes that the patches are being observed from an XZ-plane. Returns the patch towards (0, 0, -1).
Returns the patch towards (1, 0, 0).
Assumes that the patches are being observed from an XZ-plane. Returns the patch towards (0, 0, 1).
Returns the patch towards (-1, 1, 0).
Returns the patch towards (1, 1, 0).
Assumes that the patches are being observed from an XZ-plane. Returns the patch towards (-1, 0, 0).
Returns the patch towards (-1, 0, 0).
returns the patch towards (-1, -1, 0)
returns the patch towards (-1, 1, 0)
Returns the patch towards (0, -1, 0).
Returns the patch towards (0, 0, -1).
Returns the patch towards (1, 0, 0).
returns the patch towards (1, -1, 0)
returns the patch towards (1, 1, 0)
Returns the patch towards (0, 1, 0).
Returns the patch towards (0, 0, 1).
Returns a list of the 2D Von Neumann neighborhood, using the X/Y plane. If you intend to use the neighborhood frequently, you should call this method once and keep a copy of the list.
Returns the x index of the patch.
Returns the y index of the patch.
Returns the z index of the patch.
This method does nothing in its default implementation. You can implement your own init-patch method in your patch class in order to perform initialization on the patch. This method is called after all the neighbor objects have been created--if you do initialization in the init method, the neighbors will not be initialized.
Sets the color of the patch to newColor. Bear in mind that you'll also need to set the transparency of the patch if you want the patch to be displayed. See the method set-transparency for more information.
Sets the transparency of the patch to theTransparency. The default value is 1.0, which is fully transparent. No matter how much you set the color of the patch, it won't be visible until you've set the transparency to a value other than 1.0.
Used internally. Synchronizes the patch's color with recently dearchived values.