Public Member Functions | Private Member Functions | Private Attributes | List of all members
Ray Struct Reference

#include <geometry_primitives.h>

Public Member Functions

void intersect (const Segment2D &s, Intersection::Location loc, Intersections &consumer) const
 
 Ray (double x_s, double x_d, double y_s, double y_d)
 
 Ray (const Segment2D &s)
 

Private Member Functions

void intersect_horiz_segm (double st_x, double end_x, double y, Intersection::Location loc, Intersections &consumer) const
 
void intersect_vert_segm (double st_y, double end_y, double x, Intersection::Location loc, Intersections &consumer) const
 

Private Attributes

Point2D beg
 
Point2D delta
 

Detailed Description

Definition at line 115 of file geometry_primitives.h.

Constructor & Destructor Documentation

Ray::Ray ( double  x_s,
double  x_d,
double  y_s,
double  y_d 
)
inline

Definition at line 116 of file geometry_primitives.h.

Ray::Ray ( const Segment2D s)
inlineexplicit

Definition at line 119 of file geometry_primitives.h.

Member Function Documentation

void Ray::intersect ( const Segment2D s,
Intersection::Location  loc,
Intersections consumer 
) const
inline

Definition at line 122 of file geometry_primitives.h.

void Ray::intersect_horiz_segm ( double  st_x,
double  end_x,
double  y,
Intersection::Location  loc,
Intersections consumer 
) const
inlineprivate

Definition at line 136 of file geometry_primitives.h.

void Ray::intersect_vert_segm ( double  st_y,
double  end_y,
double  x,
Intersection::Location  loc,
Intersections consumer 
) const
inlineprivate

Definition at line 149 of file geometry_primitives.h.

Member Data Documentation

Point2D Ray::beg
private

Definition at line 162 of file geometry_primitives.h.

Point2D Ray::delta
private

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