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