RIT VEXU Core API
|
#include <geometry.h>
Public Member Functions | |
double | dist (const point_t other) const |
point_t | operator+ (const point_t &other) const |
point_t | operator- (const point_t &other) const |
Public Attributes | |
double | x |
the x position in space | |
double | y |
the y position in space | |
Data structure representing an X,Y coordinate
|
inline |
dist calculates the euclidian distance between this point and another point using the pythagorean theorem
other | the point to measure the distance from |
Vector2D addition operation on points
other | the point to add on to this |