PyPO User Manual
Transform.cpp File Reference

Implementations of transformations for frames and fields/currents. More...

#include "Transform.h"

Functions

void transformRays (cframe *fr, double *mat)
 
void transformFields (c2Bundle *fields, double *mat, int nTot)
 

Detailed Description

Implementations of transformations for frames and fields/currents.

Function Documentation

◆ transformFields()

void transformFields ( c2Bundle fields,
double *  mat,
int  nTot 
)

Transform a c2Bundle.

Because c2Bundle objects are defined on surfaces, the components are only rotated.

Parameters
frPointer to frame to be transformed.
matPointer to transformation matrix.

◆ transformRays()

void transformRays ( cframe fr,
double *  mat 
)

Transform a frame of rays.

Parameters
frPointer to frame to be transformed.
matPointer to transformation matrix.