![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Proximity data structure. More...
Public Member Functions | |
ProximityData (Vector3 direction, bool obstructed) | |
Initializes a new instance of the ProximityData struct. More... | |
Static Public Member Functions | |
static bool | operator< (ProximityData d1, ProximityData d2) |
Compares direction.magnitudes More... | |
static bool | operator> (ProximityData d1, ProximityData d2) |
Compares direction.magnitudes More... | |
Public Attributes | |
Vector3 | direction |
The direction of the proximity More... | |
bool | obstructed |
Indicates whether or not the location at the end of the direction is obstructed. More... | |
Proximity data structure.
Definition at line 7 of file ProximityData.cs.
ProximityData.ProximityData | ( | Vector3 | direction, |
bool | obstructed | ||
) |
Initializes a new instance of the ProximityData struct.
direction | Direction. |
obstructed | If set to true obstructed. |
Definition at line 23 of file ProximityData.cs.
|
static |
Compares direction.magnitudes
d1 | D1. |
d2 | D2. |
Definition at line 31 of file ProximityData.cs.
|
static |
Compares direction.magnitudes
d1 | D1. |
d2 | D2. |
Definition at line 38 of file ProximityData.cs.
Vector3 ProximityData.direction |
The direction of the proximity
Definition at line 11 of file ProximityData.cs.
bool ProximityData.obstructed |
Indicates whether or not the location at the end of the direction is obstructed.
Definition at line 16 of file ProximityData.cs.