Public Member Functions | Public Attributes | List of all members
RayTracer::Segment Struct Reference

#include <simplemap.h>

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

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 Member Functions inherited from RayTracer::Stuff
virtual ~Stuff ()
 

Public Attributes

double p0 [2]
 
double p1 [2]
 
- Public Attributes inherited from RayTracer::Stuff
int group
 
Materialmaterial
 

Detailed Description

Definition at line 29 of file simplemap.h.

Constructor & Destructor Documentation

RayTracer::Segment::Segment ( )
inline

Definition at line 32 of file simplemap.h.

virtual RayTracer::Segment::~Segment ( )
inlinevirtual

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

double RayTracer::Segment::p0[2]

Definition at line 30 of file simplemap.h.

double RayTracer::Segment::p1[2]

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 Tue May 11 2021 02:18:23