Eclipse SUMO - Simulation of Urban MObility
|
#include <AbstractPoly.h>
Public Member Functions | |
virtual bool | around (const Position &p, double offset=0) const =0 |
Returns whether the AbstractPoly the given coordinate. | |
virtual bool | crosses (const Position &p1, const Position &p2) const =0 |
Returns whether the AbstractPoly crosses the given line. | |
virtual bool | overlapsWith (const AbstractPoly &poly, double offset=0) const =0 |
Returns whether the AbstractPoly overlaps with the given polygon. | |
virtual bool | partialWithin (const AbstractPoly &poly, double offset=0) const =0 |
Returns whether the AbstractPoly is partially within the given polygon. | |
virtual | ~AbstractPoly () |
destructor | |
Definition at line 33 of file AbstractPoly.h.
|
inlinevirtual |
destructor
Definition at line 36 of file AbstractPoly.h.
|
pure virtual |
Returns whether the AbstractPoly the given coordinate.
Implemented in Boundary, and PositionVector.
Referenced by Boundary::partialWithin(), and PositionVector::partialWithin().
Returns whether the AbstractPoly crosses the given line.
Implemented in Boundary, and PositionVector.
Referenced by Boundary::overlapsWith(), and PositionVector::overlapsWith().
|
pure virtual |
Returns whether the AbstractPoly overlaps with the given polygon.
Implemented in Boundary, and PositionVector.
|
pure virtual |
Returns whether the AbstractPoly is partially within the given polygon.
Implemented in Boundary, and PositionVector.
Referenced by Boundary::overlapsWith(), and PositionVector::overlapsWith().