|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SpaceElement | |
|---|---|
| com.threerings.tudey.data | Tudey data. |
| com.threerings.tudey.shape | |
| com.threerings.tudey.space | |
| Uses of SpaceElement in com.threerings.tudey.data |
|---|
| Methods in com.threerings.tudey.data that return SpaceElement | |
|---|---|
SpaceElement |
TudeySceneModel.Entry.createElement(ConfigManager cfgmgr)
Creates the space element for this entry (or returns null for none). |
SpaceElement |
TudeySceneModel.PlaceableEntry.createElement(ConfigManager cfgmgr)
|
SpaceElement |
TudeySceneModel.PathEntry.createElement(ConfigManager cfgmgr)
|
SpaceElement |
TudeySceneModel.AreaEntry.createElement(ConfigManager cfgmgr)
|
| Methods in com.threerings.tudey.data that return types with arguments of type SpaceElement | |
|---|---|
Map<Object,SpaceElement> |
TudeySceneModel.getElements()
Returns a reference to the map from entry key to space elements. |
| Uses of SpaceElement in com.threerings.tudey.shape |
|---|
| Classes in com.threerings.tudey.shape that implement SpaceElement | |
|---|---|
class |
ShapeElement
A shape element. |
| Methods in com.threerings.tudey.shape with parameters of type SpaceElement | |
|---|---|
abstract boolean |
Shape.intersects(SpaceElement element)
Determines whether this shape intersects the specified element. |
boolean |
Segment.intersects(SpaceElement element)
|
boolean |
Polygon.intersects(SpaceElement element)
|
boolean |
Point.intersects(SpaceElement element)
|
boolean |
None.intersects(SpaceElement element)
|
boolean |
Global.intersects(SpaceElement element)
|
boolean |
Compound.intersects(SpaceElement element)
|
boolean |
Circle.intersects(SpaceElement element)
|
boolean |
Capsule.intersects(SpaceElement element)
|
| Uses of SpaceElement in com.threerings.tudey.space |
|---|
| Classes in com.threerings.tudey.space that implement SpaceElement | |
|---|---|
class |
SimpleSpaceElement
A simple implementation of the SpaceElement interface. |
| Methods in com.threerings.tudey.space that return SpaceElement | |
|---|---|
SpaceElement |
Space.getIntersection(Ray2D ray,
Vector2f location)
Checks for an intersection between the provided ray and the contents of the space. |
abstract SpaceElement |
Space.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
Checks for an intersection between the provided ray and the contents of the space. |
SpaceElement |
SimpleSpace.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
|
SpaceElement |
HashSpace.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
|
| Methods in com.threerings.tudey.space with parameters of type SpaceElement | |
|---|---|
void |
Space.add(SpaceElement element)
Adds an element to this space. |
void |
Space.boundsDidChange(SpaceElement element)
Notes that the specified space element's bounds have changed. |
void |
HashSpace.boundsDidChange(SpaceElement element)
|
void |
Space.boundsWillChange(SpaceElement element)
Notes that the specified space element's bounds are about to change. |
void |
HashSpace.boundsWillChange(SpaceElement element)
|
void |
Space.remove(SpaceElement element)
Removes an element from the space. |
| Method parameters in com.threerings.tudey.space with type arguments of type SpaceElement | |
|---|---|
abstract void |
Space.getElements(Rect bounds,
Collection<SpaceElement> results)
Retrieves all space elements whose bounds intersect the provided region. |
void |
SimpleSpace.getElements(Rect bounds,
Collection<SpaceElement> results)
|
void |
HashSpace.getElements(Rect bounds,
Collection<SpaceElement> results)
|
abstract void |
Space.getIntersecting(Shape shape,
Collection<SpaceElement> results)
Retrieves all space elements that intersect the provided shape. |
void |
SimpleSpace.getIntersecting(Shape shape,
Collection<SpaceElement> results)
|
void |
HashSpace.getIntersecting(Shape shape,
Collection<SpaceElement> results)
|
abstract SpaceElement |
Space.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
Checks for an intersection between the provided ray and the contents of the space. |
SpaceElement |
SimpleSpace.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
|
SpaceElement |
HashSpace.getIntersection(Ray2D ray,
Vector2f location,
Predicate<? super SpaceElement> filter)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||