|
orca-robotics

INTRODUCTION
Overview
Download and Install
Documentation
REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map
DEVELOPER
Dashboard
PEOPLE
Contributors
Users

Project
Download
Mailing lists
|
|
|
hydroogmap::OgLosTracer Class Reference#include <simpleograytrace.h>
Inherits hydroogmap::ILosTracer.
Inheritance diagram for hydroogmap::OgLosTracer:
[legend]List of all members.
|
Public Member Functions |
bool | isClearCells (int x0, int y0, int x1, int y1, int &endX, int &endY) |
bool | isClearCells (int x0, int y0, int x1, int y1) |
bool | isClearWorld (double x0, double y0, double x1, double y1, double &endX, double &endY) |
| Similar to isClearCells, but specify endpoints in world coords.
|
bool | isClearWorld (double x0, double y0, double x1, double y1) |
| Similar to isClearCells, but specify endpoints in world coords.
|
Detailed Description
OgLosTracer: useful for deciding whether there is Line-Of-Sight between two points in an OgMap.
- Author:
- Alex Brooks
Member Function Documentation
bool hydroogmap::OgLosTracer::isClearCells |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
x1, |
|
|
int |
y1 |
|
) |
[inline, virtual] |
|
|
Trace from (x0,y0) to (x1,y1). Returns: true: we didn't hit an obstacle. false: we hit an obstacle or left the map.
Implements hydroogmap::ILosTracer. |
bool hydroogmap::OgLosTracer::isClearCells |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int & |
endX, |
|
|
int & |
endY |
|
) |
[inline, virtual] |
|
|
Trace from (x0,y0) to (x1,y1). Puts the point at which it stopped tracing in (endX,endY). Returns: true: we didn't hit an obstacle. false: we hit an obstacle or left the map.
Implements hydroogmap::ILosTracer. |
The documentation for this class was generated from the following file:
|
|