#include <PfieldGeometry.h>
Collaboration diagram for Sector:
Public Member Functions | |
Sector () | |
Constructor. | |
~Sector () | |
Destructor. | |
bool | pointInside (const PfPose &base, const PfVec &pos) const |
Tests if a point is in the sector. | |
Public Attributes | |
double | openingAngle |
The opening angle of the sector. | |
PotentialfieldFunction * | crossFunction |
The function used to compute the gradient to the center of the sector. |
Definition at line 391 of file PfieldGeometry.h.
|
Constructor.
Definition at line 400 of file PfieldGeometry.h. References crossFunction. |
|
Destructor.
Definition at line 404 of file PfieldGeometry.h. References crossFunction. |
|
Tests if a point is in the sector.
Definition at line 637 of file PfieldGeometry.cpp. References PfPose::getAngleTo(). Referenced by computeChargeForSectorfield(), computeGradientForSectorfield(), and FutureWorldModelGenerator::getMaxRotationForObject(). |
Here is the call graph for this function:
|
The opening angle of the sector.
Definition at line 395 of file PfieldGeometry.h. Referenced by computeChargeForSectorfield(), computeGradientForSectorfield(), FutureWorldModelGenerator::getMaxRotationForObject(), and Parser::parseObject(). |
|
The function used to compute the gradient to the center of the sector.
Definition at line 397 of file PfieldGeometry.h. Referenced by computeChargeForSectorfield(), computeGradientForSectorfield(), Parser::parseObject(), Sector(), Object::setField(), and ~Sector(). |