Public Member Functions | Public Attributes
RayTracer::Segment Struct Reference

#include <simplemap.h>

Inheritance diagram for RayTracer::Segment:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool ray_tracing (const double p[2], const double direction, double &out_distance, double &out_alpha) const
 Segment ()
 Segment (double x0, double y0, double x1, double y1)
virtual ~Segment ()

Public Attributes

double p0 [2]
double p1 [2]

Detailed Description

Definition at line 29 of file simplemap.h.


Constructor & Destructor Documentation

Definition at line 32 of file simplemap.h.

virtual RayTracer::Segment::~Segment ( ) [inline, virtual]

Definition at line 33 of file simplemap.h.

RayTracer::Segment::Segment ( double  x0,
double  y0,
double  x1,
double  y1 
) [inline]

Definition at line 35 of file simplemap.h.


Member Function Documentation

bool RayTracer::Segment::ray_tracing ( const double  p[2],
const double  direction,
double &  out_distance,
double &  out_alpha 
) const [virtual]

Ray tracing with incidence.

Implements RayTracer::Stuff.

Definition at line 7 of file simplemap.cpp.


Member Data Documentation

Definition at line 30 of file simplemap.h.

Definition at line 30 of file simplemap.h.


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


csm
Author(s): Andrea Censi
autogenerated on Fri May 17 2019 02:28:33