VirtualFlow#hit(double, double). Before calling
any of the getters, one should determine what kind of hit this object is via isCellHit(),
isBeforeCells(), and isAfterCells(). Otherwise, calling the wrong getter will throw
an UnsupportedOperationException.
Types of VirtualFlowHit:
getCell(),
getCellIndex(), and getCellOffset().
getOffsetBeforeCells().
getOffsetAfterCells().
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <C extends Cell | |
| public abstract C | |
| public abstract int | |
| public abstract Point2D | |
| public abstract Point2D | |
| public abstract Point2D | |
| pack-priv static <C extends Cell | |
| pack-priv static <C extends Cell | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean |
| VirtualFlowHit | back to summary |
|---|---|
| private VirtualFlowHit() | |
| cellHit | back to summary |
|---|---|
| pack-priv static <C extends Cell | |
| getCell | back to summary |
|---|---|
| public abstract C getCell() | |
| getCellIndex | back to summary |
|---|---|
| public abstract int getCellIndex() | |
| getCellOffset | back to summary |
|---|---|
| public abstract Point2D getCellOffset() | |
| getOffsetAfterCells | back to summary |
|---|---|
| public abstract Point2D getOffsetAfterCells() | |
| getOffsetBeforeCells | back to summary |
|---|---|
| public abstract Point2D getOffsetBeforeCells() | |
| hitAfterCells | back to summary |
|---|---|
| pack-priv static <C extends Cell | |
| hitBeforeCells | back to summary |
|---|---|
| pack-priv static <C extends Cell | |
| isAfterCells | back to summary |
|---|---|
| public abstract boolean isAfterCells() | |
| isBeforeCells | back to summary |
|---|---|
| public abstract boolean isBeforeCells() | |
| isCellHit | back to summary |
|---|---|
| public abstract boolean isCellHit() | |
| Modifier and Type | Field and Description |
|---|---|
| private final C | |
| private final int | |
| private final Point2D |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public C | |
| public int | |
| public Point2D | |
| public Point2D | |
| public Point2D | |
| public boolean | |
| public boolean | |
| public boolean |
| cell | back to summary |
|---|---|
| private final C cell | |
| cellIdx | back to summary |
|---|---|
| private final int cellIdx | |
| cellOffset | back to summary |
|---|---|
| private final Point2D cellOffset | |
| CellHit | back to summary |
|---|---|
| pack-priv CellHit(int cellIdx, C cell, Point2D cellOffset) | |
| getCell | back to summary |
|---|---|
| public C getCell() Implements abstract org.
| |
| getCellIndex | back to summary |
|---|---|
| public int getCellIndex() Implements abstract org.
| |
| getCellOffset | back to summary |
|---|---|
| public Point2D getCellOffset() Implements abstract org.
| |
| getOffsetAfterCells | back to summary |
|---|---|
| public Point2D getOffsetAfterCells() Implements abstract org.
| |
| getOffsetBeforeCells | back to summary |
|---|---|
| public Point2D getOffsetBeforeCells() Implements abstract org.
| |
| isAfterCells | back to summary |
|---|---|
| public boolean isAfterCells() Implements abstract org.
| |
| isBeforeCells | back to summary |
|---|---|
| public boolean isBeforeCells() Implements abstract org.
| |
| isCellHit | back to summary |
|---|---|
| public boolean isCellHit() Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public C | |
| public int | |
| public Point2D | |
| public Point2D | |
| public Point2D | |
| public boolean | |
| public boolean | |
| public boolean |
| offset | back to summary |
|---|---|
| private final Point2D offset | |
| HitAfterCells | back to summary |
|---|---|
| pack-priv HitAfterCells(Point2D offset) | |
| getCell | back to summary |
|---|---|
| public C getCell() Implements abstract org.
| |
| getCellIndex | back to summary |
|---|---|
| public int getCellIndex() Implements abstract org.
| |
| getCellOffset | back to summary |
|---|---|
| public Point2D getCellOffset() Implements abstract org.
| |
| getOffsetAfterCells | back to summary |
|---|---|
| public Point2D getOffsetAfterCells() Implements abstract org.
| |
| getOffsetBeforeCells | back to summary |
|---|---|
| public Point2D getOffsetBeforeCells() Implements abstract org.
| |
| isAfterCells | back to summary |
|---|---|
| public boolean isAfterCells() Implements abstract org.
| |
| isBeforeCells | back to summary |
|---|---|
| public boolean isBeforeCells() Implements abstract org.
| |
| isCellHit | back to summary |
|---|---|
| public boolean isCellHit() Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public C | |
| public int | |
| public Point2D | |
| public Point2D | |
| public Point2D | |
| public boolean | |
| public boolean | |
| public boolean |
| offset | back to summary |
|---|---|
| private final Point2D offset | |
| HitBeforeCells | back to summary |
|---|---|
| pack-priv HitBeforeCells(Point2D offset) | |
| getCell | back to summary |
|---|---|
| public C getCell() Implements abstract org.
| |
| getCellIndex | back to summary |
|---|---|
| public int getCellIndex() Implements abstract org.
| |
| getCellOffset | back to summary |
|---|---|
| public Point2D getCellOffset() Implements abstract org.
| |
| getOffsetAfterCells | back to summary |
|---|---|
| public Point2D getOffsetAfterCells() Implements abstract org.
| |
| getOffsetBeforeCells | back to summary |
|---|---|
| public Point2D getOffsetBeforeCells() Implements abstract org.
| |
| isAfterCells | back to summary |
|---|---|
| public boolean isAfterCells() Implements abstract org.
| |
| isBeforeCells | back to summary |
|---|---|
| public boolean isBeforeCells() Implements abstract org.
| |
| isCellHit | back to summary |
|---|---|
| public boolean isCellHit() Implements abstract org.
| |