Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
G
H
I
N
O
P
R
S
T
B
betterOverlaps(Shape)
- Method in class cs2110.collision.
Shape
Better implementation of overlap detection.
Block
- Class in
cs2110.collision
Basic square block/pixel primitive for representing image-based rigid objects and resolving contacts.
Block(int, int, Color, Point2d, double)
- Constructor for class cs2110.collision.
Block
Constructs a Block.
BlockTree
- Class in
cs2110.collision
A non-empty collection of points organized in a hierarchical binary tree structure.
BlockTree(ArrayList<Block>)
- Constructor for class cs2110.collision.
BlockTree
Construct a binary tree containing blocks.
C
clear()
- Method in class cs2110.collision.
Shape
"Clear" the shape from displacement and turned on flags.
click()
- Method in class cs2110.collision.
Shape
Toggle the clickedOn flag.
col
- Variable in class cs2110.collision.
Block
Image column index.
color
- Variable in class cs2110.collision.
Block
Pixel color.
contains(Vector2D)
- Method in class cs2110.collision.
Block
contains(Vector2D)
- Method in class cs2110.collision.
BlockTree
contains(Vector2D)
- Method in class cs2110.collision.
Shape
cs2110.collision
- package cs2110.collision
This package contains classes for the CS 2110 Collision Detector
D
displace(Vector2D)
- Method in class cs2110.collision.
Shape
(Further) displace this shape by displacement vector v.
display(Graphics, double, Vector2D, boolean, boolean)
- Method in class cs2110.collision.
Block
G
gen
- Static variable in class cs2110.collision.
Block
getAbsBBox()
- Method in class cs2110.collision.
Shape
getBBox()
- Method in class cs2110.collision.
Block
getBox()
- Method in class cs2110.collision.
BlockTree
getCenter()
- Method in class cs2110.collision.
Shape
getCol()
- Method in class cs2110.collision.
Block
Image column.
getColorMass()
- Method in class cs2110.collision.
Block
Color-based mass on [0,1] with white having zero mass, and darker colors approaching one (feel free to modify).
getHalfwidth()
- Method in class cs2110.collision.
Block
Halfwidth of block.
getNumBlocks()
- Method in class cs2110.collision.
BlockTree
getPosition()
- Method in class cs2110.collision.
Block
Center position of Block (in body coordinates).
getRow()
- Method in class cs2110.collision.
Block
Image row.
H
halfwidth
- Variable in class cs2110.collision.
Block
Halfwidth of block (Note: the block radius is sqrt(2)*h).
I
isIntermediate()
- Method in class cs2110.collision.
BlockTree
isLeaf()
- Method in class cs2110.collision.
BlockTree
N
naiveOverlaps(Shape)
- Method in class cs2110.collision.
Shape
Naive implementation of overlap detection.
O
overlaps(Block, Vector2D, Block, Vector2D)
- Static method in class cs2110.collision.
Block
overlaps(Vector2D, BlockTree, Vector2D)
- Method in class cs2110.collision.
BlockTree
overlaps
- Variable in class cs2110.collision.
Shape
A flag indicating whether this shape overlaps with some other shape.
overlaps(Shape)
- Method in class cs2110.collision.
Shape
overlapsOffscreen(double, double)
- Method in class cs2110.collision.
Shape
P
paint(Graphics, double)
- Method in class cs2110.collision.
Shape
position
- Variable in class cs2110.collision.
Block
Body-frame position --- needed for contact processing.
R
row
- Variable in class cs2110.collision.
Block
Image row index.
S
Shape
- Class in
cs2110.collision
A shape is a collection of blocks.
Shape(HashSet<Block>)
- Constructor for class cs2110.collision.
Shape
T
toString()
- Method in class cs2110.collision.
Block
toString()
- Method in class cs2110.collision.
BlockTree
toString(Vector2D)
- Method in class cs2110.collision.
BlockTree
tree
- Variable in class cs2110.collision.
Shape
A hierarchical tree structure for the blocks of the shape.
B
C
D
G
H
I
N
O
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes