Polar point structure. More...
#include <mtt_common.h>
Public Member Functions | |
t_point & | operator+= (const t_point &rhs) |
Overload += operator to allow class addition. | |
void | Scale (double val) |
Scale all point values by a factor. | |
void | SetZero () |
Set all the point fields to zero. | |
t_point () | |
Public Attributes | |
t_clusterPtr | cl |
double | n |
auxiliary identifier | |
double | ni |
auxiliary identifier 2 | |
double | r |
rho | |
double | t |
theta | |
double | x |
x coordinate (Cartesian) | |
double | y |
y coordinate (Cartesian) | |
double | z |
z coordinate (Cartesian) |
Polar point structure.
Simple point class.
Definition at line 125 of file mtt_common.h.
t_point::t_point | ( | ) |
Definition at line 201 of file types_implementation.cpp.
Overload += operator to allow class addition.
Definition at line 223 of file types_implementation.cpp.
void t_point::Scale | ( | double | val | ) |
Scale all point values by a factor.
val | scale factor |
Definition at line 234 of file types_implementation.cpp.
void t_point::SetZero | ( | ) |
Set all the point fields to zero.
Definition at line 212 of file types_implementation.cpp.
Definition at line 233 of file types_declaration.h.
double t_point::n |
auxiliary identifier
Definition at line 229 of file types_declaration.h.
double t_point::ni |
auxiliary identifier 2
Definition at line 231 of file types_declaration.h.
double t_point::r |
double t_point::t |
double t_point::x |
x coordinate (Cartesian)
Definition at line 219 of file types_declaration.h.
double t_point::y |
y coordinate (Cartesian)
Definition at line 221 of file types_declaration.h.
double t_point::z |
z coordinate (Cartesian)
Definition at line 223 of file types_declaration.h.