#include <a_point.h>
|  | 
|  | a_point ()=default | 
|  | 
|  | a_point (double x, double y, double z) | 
|  | 
|  | a_point (const float x[3]) | 
|  | 
|  | a_point (const double x[3]) | 
|  | 
|  | a_point (const a_point &p) | 
|  | 
| virtual const std::string | classname () | 
|  | 
| double | x () const | 
|  | 
| double | y () const | 
|  | 
| double | z () const | 
|  | 
| double | operator[] (const int i) const | 
|  | 
| void | x (double v) | 
|  | 
| void | y (double v) | 
|  | 
| void | z (double v) | 
|  | 
| void | set (double x, double y, double z) | 
|  | 
| void | set (double x[3]) | 
|  | 
| void | set (float x[3]) | 
|  | 
| a_mat_sq | inertia () const | 
|  | 
| void | set_cylindrical (double r, double a, double h) | 
|  | 
| void | set_spherical (double r, double th, double ph) | 
|  | 
| void | clear () | 
|  | 
| a_point & | translate (double x, double y, double z) | 
|  | 
| a_point & | rotate (const a_point &x_axis, const a_point &y_axis, const a_point &z_axis) | 
|  | 
| a_point & | rotate (const a_point &axis, const double angle) | 
|  | 
| double & | operator[] (const int i) | 
|  | 
| bool | operator== (const a_point &p) const | 
|  | 
| bool | operator!= (const a_point &p) const | 
|  | 
| a_point & | operator= (const a_point &p) | 
|  | 
| a_point & | operator- () | 
|  | 
| a_point | operator+ (const a_point &) | 
|  | 
| a_point | operator- (const a_point &) | 
|  | 
| double | operator* (const a_point &) | 
|  | 
| a_point | cross (const a_point &) const | 
|  | 
| a_point & | operator+= (const a_point &) | 
|  | 
| a_point & | operator-= (const a_point &) | 
|  | 
| double | operator*= (const a_point &) | 
|  | 
| a_point & | operator*= (double v) | 
|  | 
| a_point & | operator/= (double v) | 
|  | 
| a_point & | operator/= (const a_point &) | 
|  | 
| double | sumsq () const | 
|  | 
| double | norm () const | 
|  | 
| double | norm1 () const | 
|  | 
| double | norm2 () const | 
|  | 
| double | normI () const | 
|  | 
| double | dist (const a_point &p) const | 
|  | 
| a_point & | normalise () | 
|  | 
| a_point & | max () | 
|  | set maximum abs value of component to 1.  More... 
 | 
|  | 
| virtual void | read (std::istream &i) | 
|  | 
| virtual void | write (std::ostream &o) const | 
|  | 
|  | a_base () | 
|  | 
| void | read (const std::string &file_in) | 
|  | 
| void | write (const std::string &file_out) const | 
|  | 
| void | small (double tol) | 
|  | 
| double | small () const | 
|  | 
|  | 
| static const std::string | help () | 
|  | 
| static const std::string | help () | 
|  | 
| static const std::string | help () | 
|  | 
Definition at line 42 of file a_point.h.
 
◆ a_point() [1/5]
◆ a_point() [2/5]
  
  | 
        
          | a_point::a_point | ( | double | x, |  
          |  |  | double | y, |  
          |  |  | double | z |  
          |  | ) |  |  |  | inline | 
 
 
◆ a_point() [3/5]
  
  | 
        
          | a_point::a_point | ( | const float | x[3] | ) |  |  | inline | 
 
 
◆ a_point() [4/5]
  
  | 
        
          | a_point::a_point | ( | const double | x[3] | ) |  |  | inline | 
 
 
◆ a_point() [5/5]
  
  | 
        
          | a_point::a_point | ( | const a_point & | p | ) |  |  | inline | 
 
 
◆ classname()
  
  | 
        
          | virtual const std::string a_point::classname | ( |  | ) |  |  | inlinevirtual | 
 
return class name: should be overridden by children classes 
Reimplemented from a_geom_base.
Definition at line 51 of file a_point.h.
 
 
◆ clear()
◆ cross()
◆ dist()
  
  | 
        
          | double a_point::dist | ( | const a_point & | p | ) | const |  | inline | 
 
 
◆ help()
  
  | 
        
          | const std::string a_point::help | ( |  | ) |  |  | static | 
 
 
◆ inertia()
◆ max()
set maximum abs value of component to 1. 
Definition at line 214 of file a_point.cxx.
 
 
◆ norm()
      
        
          | double a_point::norm | ( |  | ) | const | 
      
 
 
◆ norm1()
      
        
          | double a_point::norm1 | ( |  | ) | const | 
      
 
 
◆ norm2()
      
        
          | double a_point::norm2 | ( |  | ) | const | 
      
 
 
◆ normalise()
◆ normI()
      
        
          | double a_point::normI | ( |  | ) | const | 
      
 
 
◆ operator!=()
  
  | 
        
          | bool a_point::operator!= | ( | const a_point & | p | ) | const |  | inline | 
 
 
◆ operator*()
      
        
          | double a_point::operator* | ( | const a_point & | p | ) |  | 
      
 
 
◆ operator*=() [1/2]
      
        
          | double a_point::operator*= | ( | const a_point & | p | ) |  | 
      
 
 
◆ operator*=() [2/2]
      
        
          | a_point & a_point::operator*= | ( | double | v | ) |  | 
      
 
 
◆ operator+()
◆ operator+=()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator-=()
◆ operator/=() [1/2]
◆ operator/=() [2/2]
      
        
          | a_point & a_point::operator/= | ( | double | v | ) |  | 
      
 
 
◆ operator=()
◆ operator==()
      
        
          | bool a_point::operator== | ( | const a_point & | p | ) | const | 
      
 
 
◆ operator[]() [1/2]
  
  | 
        
          | double& a_point::operator[] | ( | const int | i | ) |  |  | inline | 
 
 
◆ operator[]() [2/2]
  
  | 
        
          | double a_point::operator[] | ( | const int | i | ) | const |  | inline | 
 
 
◆ read()
  
  | 
        
          | void a_point::read | ( | std::istream & | i | ) |  |  | virtual | 
 
read object from stream: should be overridden by children classes 
Reimplemented from a_base.
Definition at line 315 of file a_point.cxx.
 
 
◆ rotate() [1/2]
      
        
          | a_point & a_point::rotate | ( | const a_point & | axis, | 
        
          |  |  | const double | angle | 
        
          |  | ) |  |  | 
      
 
 
◆ rotate() [2/2]
◆ set() [1/3]
  
  | 
        
          | void a_point::set | ( | double | x, |  
          |  |  | double | y, |  
          |  |  | double | z |  
          |  | ) |  |  |  | inline | 
 
 
◆ set() [2/3]
  
  | 
        
          | void a_point::set | ( | double | x[3] | ) |  |  | inline | 
 
 
◆ set() [3/3]
  
  | 
        
          | void a_point::set | ( | float | x[3] | ) |  |  | inline | 
 
 
◆ set_cylindrical()
  
  | 
        
          | void a_point::set_cylindrical | ( | double | r, |  
          |  |  | double | a, |  
          |  |  | double | h |  
          |  | ) |  |  |  | inline | 
 
 
◆ set_spherical()
  
  | 
        
          | void a_point::set_spherical | ( | double | r, |  
          |  |  | double | th, |  
          |  |  | double | ph |  
          |  | ) |  |  |  | inline | 
 
 
◆ sumsq()
      
        
          | double a_point::sumsq | ( |  | ) | const | 
      
 
 
◆ translate()
  
  | 
        
          | a_point& a_point::translate | ( | double | x, |  
          |  |  | double | y, |  
          |  |  | double | z |  
          |  | ) |  |  |  | inline | 
 
 
◆ write()
  
  | 
        
          | void a_point::write | ( | std::ostream & | o | ) | const |  | virtual | 
 
write object to stream: should be overridden by children classes 
Reimplemented from a_base.
Definition at line 322 of file a_point.cxx.
 
 
◆ x() [1/2]
  
  | 
        
          | double a_point::x | ( |  | ) | const |  | inline | 
 
 
◆ x() [2/2]
  
  | 
        
          | void a_point::x | ( | double | v | ) |  |  | inline | 
 
 
◆ y() [1/2]
  
  | 
        
          | double a_point::y | ( |  | ) | const |  | inline | 
 
 
◆ y() [2/2]
  
  | 
        
          | void a_point::y | ( | double | v | ) |  |  | inline | 
 
 
◆ z() [1/2]
  
  | 
        
          | double a_point::z | ( |  | ) | const |  | inline | 
 
 
◆ z() [2/2]
  
  | 
        
          | void a_point::z | ( | double | v | ) |  |  | inline | 
 
 
◆ x_
x coordinate of the point 
Definition at line 106 of file a_point.h.
 
 
◆ y_
y coordinate of the point 
Definition at line 107 of file a_point.h.
 
 
◆ z_
z coordinate of the point 
Definition at line 108 of file a_point.h.
 
 
The documentation for this class was generated from the following files: