Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

LOSR::Y_NU Struct Reference

LOSR::Y_NU describe a surface entry into an approximative raytracing table (y-nu trace). More...

#include <ApproxRaytracer.hpp>

List of all members.

Public Methods

 Y_NU ()
 Construct a Y_NU trace entry.

 Y_NU (const LOSR::Surface &inSurface)
 Construct a Y_NU trace entry using the surface to initialize the y-nu entry. More...

Y_NU& operator= (const LOSR::Surface &inSurface)
 Initialize a y-nu trace entry with a surface. More...


Public Attributes

long double mT
 Distance to the next surface.

long double mN
 Refraction index of the material at the right.

long double mC
 Curvature of the surface.

long double mR
 Aperture radius of the surface.

long double mY
 Height of the ray on the surface.

long double mU
 Angle (in radian) of the ray.

long double mNU
 Angle times de refraction index.


Detailed Description

LOSR::Y_NU describe a surface entry into an approximative raytracing table (y-nu trace).

Author:
Christian Gagné and Julie Beaulieu
Version:
0.2
Date:
8/31/2001


Constructor & Destructor Documentation

Y_NU::Y_NU ( const LOSR::Surface & inSurface )
 

Construct a Y_NU trace entry using the surface to initialize the y-nu entry.

Parameters:
inSurface   Surface to made to initialize the y-nu trace entry.
00055   :
00056   mT(inSurface.getThickness()),
00057   mN(inSurface.getIndex()),
00058   mC(inSurface.getCurvature()),
00059   mR(inSurface.getAperture()),
00060   mY(0),
00061   mU(0),
00062   mNU(0)
00063 { }


Member Function Documentation

Y_NU & Y_NU::operator= ( const LOSR::Surface & inSurface )
 

Initialize a y-nu trace entry with a surface.

Parameters:
inSurface   Surface to made to initialize the y-nu trace entry.
00072 {
00073   mT = inSurface.getThickness();
00074   mN = inSurface.getIndex();
00075   mC = inSurface.getCurvature();
00076   mR = inSurface.getAperture();
00077   mY = 0;
00078   mU = 0;
00079   mNU = 0;
00080   return *this;
00081 }


The documentation for this struct was generated from the following files:
Generated at Sat Dec 22 10:58:18 2001 for Library for Optical Systems Raytracing by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001