Public Member Functions | Public Attributes | List of all members
Point2D Struct Reference

#include <geometry_primitives.h>

Inheritance diagram for Point2D:
Inheritance graph
[legend]

Public Member Functions

double dist_sq (const Point2D &pt) const
 
Point2D operator* (double scalar) const
 
Point2D operator+ (const Point2D &p) const
 
Point2D operator- (const Point2D &p) const
 
bool operator== (const Point2D &that) const
 
 Point2D (double x_par=0, double y_par=0)
 

Public Attributes

double x
 
double y
 

Detailed Description

Definition at line 11 of file geometry_primitives.h.

Constructor & Destructor Documentation

Point2D::Point2D ( double  x_par = 0,
double  y_par = 0 
)
inline

Definition at line 12 of file geometry_primitives.h.

Member Function Documentation

double Point2D::dist_sq ( const Point2D pt) const
inline

Definition at line 14 of file geometry_primitives.h.

Point2D Point2D::operator* ( double  scalar) const
inline

Definition at line 22 of file geometry_primitives.h.

Point2D Point2D::operator+ ( const Point2D p) const
inline

Definition at line 23 of file geometry_primitives.h.

Point2D Point2D::operator- ( const Point2D p) const
inline

Definition at line 24 of file geometry_primitives.h.

bool Point2D::operator== ( const Point2D that) const
inline

Definition at line 18 of file geometry_primitives.h.

Member Data Documentation

double Point2D::x

Definition at line 27 of file geometry_primitives.h.

double Point2D::y

Definition at line 27 of file geometry_primitives.h.


The documentation for this struct was generated from the following file:


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26