EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Classes | Typedefs | Functions
egs_polygon.h File Reference

EGS_2DPolygon and EGS_PolygonT class header file. More...

#include "egs_vector.h"
#include "egs_projectors.h"
#include "egs_math.h"
#include "egs_functions.h"
#include <vector>

Go to the source code of this file.

Classes

class  EGS_2DPolygon
 A class to represent a polygon in a plane (a 2D polygon). More...
 
class  EGS_PolygonT< T >
 A template class for 3D polygons. More...
 

Typedefs

typedef EGS_PolygonT
< EGS_XProjector
EGS_PolygonYZ
 A 3D polygon in the x-plane.
 
typedef EGS_PolygonT
< EGS_YProjector
EGS_PolygonXZ
 A 3D polygon in the y-plane.
 
typedef EGS_PolygonT
< EGS_ZProjector
EGS_PolygonXY
 A 3D polygon in the z-plane.
 
typedef EGS_PolygonT
< EGS_Projector
EGS_Polygon
 A 3D polygon in any plane.
 

Functions

EGS_EXPORT EGS_PolygonmakePolygon (const vector< EGS_Vector > &points)
 Make a polygon from the 3D points points.
 

Detailed Description

EGS_2DPolygon and EGS_PolygonT class header file.

Author
Iwan Kawrakow, NRC

Definition in file egs_polygon.h.