OMNeT++ Simulation Library
5.6.1
|
#include <ccanvas.h>
Represents a point as (x,y) coordinates.
Public Member Functions | |
Methods. | |
Point () | |
Point (double x, double y) | |
Point | operator+ (const Point &p) const |
Point | operator- (const Point &p) const |
Point | operator* (double s) const |
Point | operator/ (double s) const |
double | operator* (const Point &p) const |
double | distanceTo (const Point &p) const |
double | getLength () const |
Point & | translate (double dx, double dy) |
bool | operator== (const Point &other) const |
std::string | str () const |
Public Attributes | |
Coordinates. | |
double | x |
double | y |