Namespaces |
| namespace | Kodu |
Functions |
| float | Kodu::bearingFromAgentToPoint (const Point &) |
| | Calculate the bearing from the agent's position and orientation to a specified point.
|
| float | Kodu::bearingFromAgentToObject (const ShapeRoot &) |
| | Calcaulate the bearing from the agent's position and orientation to a specified shape.
|
| float | Kodu::distanceFromAgentToPoint (const Point &) |
| | Calculates the distance between the agent's and a specified point's centroids.
|
| float | Kodu::distanceFromAgentToObject (const ShapeRoot &) |
| | Calculates the distance between the agent's and a specified shape's centroids.
|
| float | Kodu::distanceInBetweenAgentAndObject (const ShapeRoot &) |
| | Calculates the length of the open space in between the agent and a specified shape.
|
| float | Kodu::objectRadius (const ShapeRoot &) |
| | Calculates the perceived radius of a target shape.
|
| ShapeRoot | Kodu::getClosestObject (const std::vector< ShapeRoot > &) |
| | Returns the closest shape/object to the agent.
|
| ShapeRoot | Kodu::getClosestObjectToPoint (const std::vector< ShapeRoot > &, const Point &) |
| | Returns the closest object to a specified point (ASSUMES point and shapes are in SAME shape space).
|
| std::vector< ShapeRoot > | Kodu::getObjectsLocated (const std::vector< ShapeRoot > &, SearchLocation_t) |
| | Returns the objects located in the specified region(s) relative to the agent orientation.
|
| std::vector< ShapeRoot > | Kodu::getMatchingObjects (const std::vector< ShapeRoot > &kObjects, const std::string &kColor, const std::string &kType) |
| | Returns the objects that are a specified color.
|
| ShapeRoot | Kodu::getClosestObjectMatching (const std::string &color, const std::string &type, SearchLocation_t location, const ShapeRoot &kExcludedShape=ShapeRoot()) |
| | Returns the closest object that matches the specified criteria (excluding the specified shape).
|