Public Member Functions | Public Attributes | List of all members
t_point Class Reference

Polar point structure. More...

#include <mtt_common.h>

Public Member Functions

t_pointoperator+= (const t_point &rhs)
 Overload += operator to allow class addition. More...
 
void Scale (double val)
 Scale all point values by a factor. More...
 
void SetZero ()
 Set all the point fields to zero. More...
 
 t_point ()
 

Public Attributes

t_clusterPtr cl
 
double n
 auxiliary identifier More...
 
double ni
 auxiliary identifier 2 More...
 
double r
 rho More...
 
double t
 theta More...
 
double x
 x coordinate (Cartesian) More...
 
double y
 y coordinate (Cartesian) More...
 
double z
 z coordinate (Cartesian) More...
 

Detailed Description

Polar point structure.

Simple point class.

Definition at line 126 of file mtt_common.h.

Constructor & Destructor Documentation

t_point::t_point ( )

Definition at line 201 of file types_implementation.cpp.

Member Function Documentation

t_point & t_point::operator+= ( const t_point rhs)

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.

Parameters
valscale 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.

Member Data Documentation

t_clusterPtr t_point::cl

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

rho

r coordinate (Polar)

Definition at line 129 of file mtt_common.h.

double t_point::t

theta

t coordinate (Polar)

Definition at line 131 of file mtt_common.h.

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.


The documentation for this class was generated from the following files:


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:19