|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Shape | |
|---|---|
| com.threerings.tudey.client | |
| com.threerings.tudey.client.cursor | |
| com.threerings.tudey.client.util | |
| com.threerings.tudey.config | Tudey configurations. |
| com.threerings.tudey.data | Tudey data. |
| com.threerings.tudey.server | |
| com.threerings.tudey.server.logic | |
| com.threerings.tudey.shape | |
| com.threerings.tudey.shape.config | Shape configurations. |
| com.threerings.tudey.space | |
| com.threerings.tudey.util | |
| Uses of Shape in com.threerings.tudey.client |
|---|
| Methods in com.threerings.tudey.client with parameters of type Shape | |
|---|---|
boolean |
TudeySceneView.collides(Actor actor,
Shape shape)
|
boolean |
TudeySceneView.getPenetration(Actor actor,
Shape shape,
Vector2f result)
|
| Uses of Shape in com.threerings.tudey.client.cursor |
|---|
| Methods in com.threerings.tudey.client.cursor that return Shape | |
|---|---|
Shape |
TileCursor.getShape()
|
Shape |
TileCursor.Implementation.getShape()
Returns a reference to the transformed shape. |
Shape |
TileCursor.Original.getShape()
|
Shape |
PlaceableCursor.getShape()
|
Shape |
PlaceableCursor.Implementation.getShape()
Returns a reference to the transformed shape. |
Shape |
PlaceableCursor.Original.getShape()
|
Shape |
PathCursor.getShape()
|
Shape |
PathCursor.Implementation.getShape()
Returns a reference to the transformed shape. |
Shape |
PathCursor.Original.getShape()
|
abstract Shape |
EntryCursor.getShape()
Returns a reference to the shape of the entry (or null for none). |
Shape |
AreaCursor.getShape()
|
Shape |
AreaCursor.Implementation.getShape()
Returns a reference to the transformed shape. |
Shape |
AreaCursor.Original.getShape()
|
| Uses of Shape in com.threerings.tudey.client.util |
|---|
| Methods in com.threerings.tudey.client.util that return Shape | |
|---|---|
Shape |
ShapeSceneElement.getShape()
Returns a reference to the shape being drawn. |
| Methods in com.threerings.tudey.client.util with parameters of type Shape | |
|---|---|
void |
ShapeSceneElement.setShape(Shape shape)
Sets the shape to draw. |
| Uses of Shape in com.threerings.tudey.config |
|---|
| Methods in com.threerings.tudey.config that return Shape | |
|---|---|
abstract Shape |
HandlerConfig.IntersectionShape.getShape(Shape source,
Transform2D transform,
Shape result)
Returns the intersection shape based on the source shape and transform. |
Shape |
HandlerConfig.DefaultShape.getShape(Shape source,
Transform2D transform,
Shape result)
|
Shape |
HandlerConfig.TransformedShape.getShape(Shape source,
Transform2D transform,
Shape result)
|
| Methods in com.threerings.tudey.config with parameters of type Shape | |
|---|---|
abstract Shape |
HandlerConfig.IntersectionShape.getShape(Shape source,
Transform2D transform,
Shape result)
Returns the intersection shape based on the source shape and transform. |
Shape |
HandlerConfig.DefaultShape.getShape(Shape source,
Transform2D transform,
Shape result)
|
Shape |
HandlerConfig.TransformedShape.getShape(Shape source,
Transform2D transform,
Shape result)
|
| Uses of Shape in com.threerings.tudey.data |
|---|
| Methods in com.threerings.tudey.data that return Shape | |
|---|---|
Shape |
TudeySceneModel.Entry.createShape(ConfigManager cfgmgr)
Creates the shape for this entry, or returns null for none. |
Shape |
TudeySceneModel.TileEntry.createShape(ConfigManager cfgmgr)
|
Shape |
TudeySceneModel.PlaceableEntry.createShape(ConfigManager cfgmgr)
|
Shape |
TudeySceneModel.PathEntry.createShape(ConfigManager cfgmgr)
|
Shape |
TudeySceneModel.AreaEntry.createShape(ConfigManager cfgmgr)
|
| Methods in com.threerings.tudey.data with parameters of type Shape | |
|---|---|
boolean |
TudeySceneModel.collides(Actor actor,
Shape shape)
Checks the specified actor for a collision with the environment. |
boolean |
TudeySceneModel.collides(int mask,
Shape shape)
Checks the specified mask for a collision with the environment. |
Vector2f[] |
TudeySceneModel.Entry.createPatrolPath(Shape shape)
Creates the patrol path for this entry, or returns null for none. |
Vector2f[] |
TudeySceneModel.PathEntry.createPatrolPath(Shape shape)
|
void |
TudeySceneModel.getEntries(Shape shape,
Collection<TudeySceneModel.Entry> results)
Retrieves all entries intersecting the supplied shape. |
void |
TudeySceneModel.getEntries(Shape shape,
Predicate<? super TudeySceneModel.Entry> pred,
Collection<TudeySceneModel.Entry> results)
Retrieves all entries intersecting the supplied shape and matching the predicate. |
boolean |
TudeySceneModel.getPenetration(Actor actor,
Shape shape,
Vector2f result)
|
| Uses of Shape in com.threerings.tudey.server |
|---|
| Methods in com.threerings.tudey.server with parameters of type Shape | |
|---|---|
boolean |
TudeySceneManager.collides(ActorLogic logic,
Shape shape)
Determines whether the specified actor collides with anything in the environment. |
boolean |
TudeySceneManager.collides(ActorLogic logic,
Shape shape,
int timestamp)
Determines whether the specified actor collides with anything in the environment. |
boolean |
TudeySceneManager.collides(Actor actor,
Shape shape)
|
boolean |
TudeySceneManager.collides(Actor actor,
Shape shape,
int timestamp)
Determines whether the specified actor collides with anything in the environment. |
boolean |
TudeySceneManager.collides(int mask,
Shape shape)
Determines whether the specified shape collides with anything in the environment. |
boolean |
TudeySceneManager.collides(int mask,
Shape shape,
int timestamp)
Determines whether the specified shape collides with anything in the environment. |
boolean |
TudeySceneManager.getPenetration(Actor actor,
Shape shape,
Vector2f result)
|
int |
TudeySceneManager.triggerSensors(Class<? extends TudeySceneManager.Sensor> type,
int timestamp,
Shape shape,
int flags,
ActorLogic actor)
Triggers any sensors of the specified type intersecting the specified shape. |
| Method parameters in com.threerings.tudey.server with type arguments of type Shape | |
|---|---|
int |
TudeySceneManager.triggerSensors(Class<? extends TudeySceneManager.Sensor> type,
int timestamp,
Collection<Shape> shapes,
int flags,
ActorLogic actor)
Triggers any sensors of the specified type intersecting the specified shape. |
| Uses of Shape in com.threerings.tudey.server.logic |
|---|
| Methods in com.threerings.tudey.server.logic that return Shape | |
|---|---|
Shape |
Logic.getShape()
Returns a reference to this logic's shape, or returns null for none. |
Shape |
EntryLogic.getShape()
|
Shape |
EffectLogic.getShape()
Returns a reference to the shape of the effect. |
Shape |
ActorLogic.getShape()
|
| Methods in com.threerings.tudey.server.logic with parameters of type Shape | |
|---|---|
boolean |
MobileLogic.collides(Actor actor,
Shape shape)
|
boolean |
MobileLogic.getPenetration(Actor actor,
Shape shape,
Vector2f result)
|
| Method parameters in com.threerings.tudey.server.logic with type arguments of type Shape | |
|---|---|
abstract void |
RegionLogic.resolve(Logic activator,
Collection<Shape> results)
Resolves the region into a collection of shapes. |
void |
RegionLogic.Located.resolve(Logic activator,
Collection<Shape> results)
|
void |
RegionLogic.Fixed.resolve(Logic activator,
Collection<Shape> results)
|
| Uses of Shape in com.threerings.tudey.shape |
|---|
| Subclasses of Shape in com.threerings.tudey.shape | |
|---|---|
class |
Capsule
A capsule. |
class |
Circle
A circle. |
class |
Compound
A compound shape. |
class |
Global
A non-shape. |
class |
None
A non-shape. |
class |
Point
A point. |
class |
Polygon
A convex polygon. |
class |
Segment
A line segment. |
| Methods in com.threerings.tudey.shape that return Shape | |
|---|---|
Shape |
Shape.expand(float amount)
Expands this shape by the specified amount. |
abstract Shape |
Shape.expand(float amount,
Shape result)
Expands this shape, placing the result in the provided object if possible. |
Shape |
Segment.expand(float amount,
Shape result)
|
Shape |
Polygon.expand(float amount,
Shape result)
|
Shape |
Point.expand(float amount,
Shape result)
|
Shape |
None.expand(float amount,
Shape result)
|
Shape |
Global.expand(float amount,
Shape result)
|
Shape |
Compound.expand(float amount,
Shape result)
|
Shape |
Circle.expand(float amount,
Shape result)
|
Shape |
Capsule.expand(float amount,
Shape result)
|
Shape |
Shape.expandLocal(float amount)
Expands this shape in-place by the specified amount. |
Shape |
ShapeElement.getLocalShape()
Returns a reference to the element's local shape. |
Shape |
Compound.getShape(int idx)
Returns a reference to the indexed shape. |
Shape[] |
Compound.getShapes()
Returns a reference to the array of shapes. |
Shape |
ShapeElement.getWorldShape()
Returns a reference to the element's transformed shape. |
Shape |
Shape.sweep(Vector2f translation)
Computes the shape created by sweeping this shape along the specified translation vector. |
abstract Shape |
Shape.sweep(Vector2f translation,
Shape result)
Computes the shape created by sweeping this shape along the specified translation vector, placing the result in the provided object if possible. |
Shape |
Segment.sweep(Vector2f translation,
Shape result)
|
Shape |
Polygon.sweep(Vector2f translation,
Shape result)
|
Shape |
Point.sweep(Vector2f translation,
Shape result)
|
Shape |
None.sweep(Vector2f translation,
Shape result)
|
Shape |
Global.sweep(Vector2f translation,
Shape result)
|
Shape |
Compound.sweep(Vector2f translation,
Shape result)
|
Shape |
Circle.sweep(Vector2f translation,
Shape result)
|
Shape |
Capsule.sweep(Vector2f translation,
Shape result)
|
Shape |
Shape.transform(Transform2D transform)
Transforms this shape. |
abstract Shape |
Shape.transform(Transform2D transform,
Shape result)
Transforms this shape, placing the result in the provided object if possible. |
Shape |
Segment.transform(Transform2D transform,
Shape result)
|
Shape |
Polygon.transform(Transform2D transform,
Shape result)
|
Shape |
Point.transform(Transform2D transform,
Shape result)
|
Shape |
None.transform(Transform2D transform,
Shape result)
|
Shape |
Global.transform(Transform2D transform,
Shape result)
|
Shape |
Compound.transform(Transform2D transform,
Shape result)
|
Shape |
Circle.transform(Transform2D transform,
Shape result)
|
Shape |
Capsule.transform(Transform2D transform,
Shape result)
|
Shape |
Shape.transformLocal(Transform2D transform)
Transforms this shape in-place. |
| Methods in com.threerings.tudey.shape with parameters of type Shape | |
|---|---|
abstract Shape |
Shape.expand(float amount,
Shape result)
Expands this shape, placing the result in the provided object if possible. |
Shape |
Segment.expand(float amount,
Shape result)
|
Shape |
Polygon.expand(float amount,
Shape result)
|
Shape |
Point.expand(float amount,
Shape result)
|
Shape |
None.expand(float amount,
Shape result)
|
Shape |
Global.expand(float amount,
Shape result)
|
Shape |
Compound.expand(float amount,
Shape result)
|
Shape |
Circle.expand(float amount,
Shape result)
|
Shape |
Capsule.expand(float amount,
Shape result)
|
abstract Vector2f |
Shape.getPenetration(Shape shape,
Vector2f result)
Finds the penetration of the specified shape into this one, assuming that they intersect. |
Vector2f |
Segment.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Polygon.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Point.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
None.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Global.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Compound.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Circle.getPenetration(Shape shape,
Vector2f result)
|
Vector2f |
Capsule.getPenetration(Shape shape,
Vector2f result)
|
abstract boolean |
Shape.intersects(Shape shape)
Determines whether this shape intersects the specified shape. |
boolean |
Segment.intersects(Shape shape)
|
boolean |
Polygon.intersects(Shape shape)
|
boolean |
Point.intersects(Shape shape)
|
boolean |
None.intersects(Shape shape)
|
boolean |
Global.intersects(Shape shape)
|
boolean |
Compound.intersects(Shape shape)
|
boolean |
Circle.intersects(Shape shape)
|
boolean |
Capsule.intersects(Shape shape)
|
void |
ShapeElement.setLocalShape(Shape shape)
Sets the local shape reference. |
abstract Shape |
Shape.sweep(Vector2f translation,
Shape result)
Computes the shape created by sweeping this shape along the specified translation vector, placing the result in the provided object if possible. |
Shape |
Segment.sweep(Vector2f translation,
Shape result)
|
Shape |
Polygon.sweep(Vector2f translation,
Shape result)
|
Shape |
Point.sweep(Vector2f translation,
Shape result)
|
Shape |
None.sweep(Vector2f translation,
Shape result)
|
Shape |
Global.sweep(Vector2f translation,
Shape result)
|
Shape |
Compound.sweep(Vector2f translation,
Shape result)
|
Shape |
Circle.sweep(Vector2f translation,
Shape result)
|
Shape |
Capsule.sweep(Vector2f translation,
Shape result)
|
abstract Shape |
Shape.transform(Transform2D transform,
Shape result)
Transforms this shape, placing the result in the provided object if possible. |
Shape |
Segment.transform(Transform2D transform,
Shape result)
|
Shape |
Polygon.transform(Transform2D transform,
Shape result)
|
Shape |
Point.transform(Transform2D transform,
Shape result)
|
Shape |
None.transform(Transform2D transform,
Shape result)
|
Shape |
Global.transform(Transform2D transform,
Shape result)
|
Shape |
Compound.transform(Transform2D transform,
Shape result)
|
Shape |
Circle.transform(Transform2D transform,
Shape result)
|
Shape |
Capsule.transform(Transform2D transform,
Shape result)
|
| Constructors in com.threerings.tudey.shape with parameters of type Shape | |
|---|---|
Compound(Shape... shapes)
Creates a compound containing the supplied shapes (which will be referenced, not copied). |
|
ShapeElement(Shape localShape)
Creates a new shape element. |
|
| Uses of Shape in com.threerings.tudey.shape.config |
|---|
| Methods in com.threerings.tudey.shape.config that return Shape | |
|---|---|
Shape |
ShapeConfig.getShape()
Returns a reference to the untransformed shape. |
Shape |
ShapeConfig.TransformedShape.getShape()
Returns the transformed shape. |
| Uses of Shape in com.threerings.tudey.space |
|---|
| Methods in com.threerings.tudey.space with parameters of type Shape | |
|---|---|
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)
|
| Uses of Shape in com.threerings.tudey.util |
|---|
| Methods in com.threerings.tudey.util with parameters of type Shape | |
|---|---|
boolean |
ActorAdvancer.Environment.collides(Actor actor,
Shape shape)
Checks whether the actor is colliding with anything. |
boolean |
ActorAdvancer.Environment.getPenetration(Actor actor,
Shape shape,
Vector2f result)
Checks whether the actor is colliding with anything and, if it is, populates the provided object with the penetration vector (the minimum translation required to cancel the penetration). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||