Public Types | Public Member Functions | Public Attributes | List of all members
Intersection Struct Reference

#include <geometry_primitives.h>

Inheritance diagram for Intersection:
Inheritance graph
[legend]

Public Types

enum  Location : char { Location::Bot = 0, Location::Left = 1, Location::Top = 2, Location::Right = 3 }
 

Public Member Functions

 Intersection (Location loc, double x, double y)
 
bool is_horiz () const
 
- Public Member Functions inherited from Point2D
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

Location location
 
- Public Attributes inherited from Point2D
double x
 
double y
 

Detailed Description

Definition at line 98 of file geometry_primitives.h.

Member Enumeration Documentation

enum Intersection::Location : char
strong
Enumerator
Bot 
Left 
Top 
Right 

Definition at line 99 of file geometry_primitives.h.

Constructor & Destructor Documentation

Intersection::Intersection ( Location  loc,
double  x,
double  y 
)
inline

Definition at line 103 of file geometry_primitives.h.

Member Function Documentation

bool Intersection::is_horiz ( ) const
inline

Definition at line 106 of file geometry_primitives.h.

Member Data Documentation

Location Intersection::location

Definition at line 110 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