OpenStructure
Public Member Functions
Peak Class Reference

#include <peak.hh>

Inherits Point.

Public Member Functions

 Peak (int x=0, int y=0, int z=0)
 
 Peak (const Point &p)
 
 Peak (const Point &p, Real v)
 
Real GetValue () const
 
- Public Member Functions inherited from Point
 Point ()
 
 Point (const Point &p)
 
 Point (int a)
 
 Point (int a, int b)
 
 Point (int a, int b, int c)
 
 Point (const Vec2 &v)
 
 Point (const Vec3 &v)
 
 Point (const Vec4 &v)
 
 Point (const Size &size)
 
Point Mirror (int planes)
 
int & operator[] (unsigned int index)
 
int operator[] (unsigned int index) const
 
int & At (unsigned int index)
 
int At (unsigned int index) const
 
Pointoperator= (const Point &p)
 
Pointoperator+= (const Point &p)
 
Pointoperator-= (const Point &p)
 
Point operator- () const
 
Pointoperator+= (const Size &p)
 
Pointoperator-= (const Size &p)
 
bool operator== (const Point &p) const
 
bool operator< (const Point &p) const
 
Pointoperator*= (int s)
 
Vec2 ToVec2 () const
 
Vec3 ToVec3 () const
 
Vec4 ToVec4 () const
 

Additional Inherited Members

- Data Fields inherited from Point
int x
 
int y
 
int z
 

Detailed Description

Definition at line 35 of file peak.hh.

Constructor & Destructor Documentation

◆ Peak() [1/3]

Peak ( int  x = 0,
int  y = 0,
int  z = 0 
)
inline

Definition at line 37 of file peak.hh.

◆ Peak() [2/3]

Peak ( const Point p)
inline

Definition at line 38 of file peak.hh.

◆ Peak() [3/3]

Peak ( const Point p,
Real  v 
)
inline

Definition at line 39 of file peak.hh.

Member Function Documentation

◆ GetValue()

Real GetValue ( ) const
inline

Definition at line 41 of file peak.hh.


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