PyPO User Manual
reflparams Struct Reference

#include <Structs.h>

Public Attributes

double * coeffs
 
double * lxu
 
double * lyv
 
int * n_cells
 
bool flip
 
int gmode
 
double * gcenter
 
double ecc_uv
 
double rot_uv
 
int type
 
double * transf
 
double rms
 
unsigned int rms_seed
 

Detailed Description

Object containing parameters for generating reflector surfaces.

Member Data Documentation

◆ coeffs

double* reflparams::coeffs

array of 3 double. Contains a, b, c coefficients for reflectors.

◆ ecc_uv

double reflparams::ecc_uv

Eccentricity of uv-generated xy grid.

◆ flip

bool reflparams::flip

Whether or not to flip normal vectors. Only relevant for quadric surfaces.

◆ gcenter

double* reflparams::gcenter

array of two double. Contains x and y co-ordinates for center of selection area.

◆ gmode

int reflparams::gmode

How to grid surface. 0 is "xy", 1 is "uv" and 2 is "AoE".

◆ lxu

double* reflparams::lxu

array of 2 double. Contains lower and upper x/u limits.

◆ lyv

double* reflparams::lyv

array of 2 double. Contains lower and upper y/v limits.

◆ n_cells

int* reflparams::n_cells

array of 2 int. Contains gridsize along x/u and y/v axes.

◆ rms

double reflparams::rms

Surface roughness rms of reflector in mm.

◆ rot_uv

double reflparams::rot_uv

Position angle of uv-generated xy_grid, w.r.t. x-axis.

◆ transf

double* reflparams::transf

array of 16 double. Contains the transformation matrix of reflector surface.

◆ type

int reflparams::type

What type the reflector is. 0 is paraboloid, 1 is hyperboloid, 2 is ellipsoid and 3 is planar.


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