MEPP2 Project
Public Member Functions | Public Attributes | List of all members
Point_Int Struct Reference

Point. More...

#include <Compression_Valence_Component.h>

Collaboration diagram for Point_Int:
Collaboration graph

Public Member Functions

 Point_Int ()
 Default constructor. More...
 
const Point_Int operator+ (const Point_Int &Pt) const
 Addition operator. More...
 
const Point_Int operator- (const Point_Int &Pt) const
 Negation operator. More...
 
bool operator== (const Point_Int &Pt) const
 Comparison operatior ==. More...
 
bool operator!= (const Point_Int &Pt) const
 Comparison operatior !=. More...
 

Public Attributes

int x
 The x coordinate. More...
 
int y
 The y coordinate. More...
 
int z
 The z coordinate. More...
 

Detailed Description

Point.

Definition at line 31 of file Compression_Valence_Component.h.

Constructor & Destructor Documentation

◆ Point_Int()

Point_Int::Point_Int ( )
inline

Default constructor.

Definition at line 44 of file Compression_Valence_Component.h.

Member Function Documentation

◆ operator!=()

bool Point_Int::operator!= ( const Point_Int Pt) const
inline

Comparison operatior !=.

Parameters
PtThe point.
Returns
true if the parameters are not identical.

Definition at line 107 of file Compression_Valence_Component.h.

◆ operator+()

const Point_Int Point_Int::operator+ ( const Point_Int Pt) const
inline

Addition operator.

Parameters
PtThe point.
Returns
The result of the operation.

Definition at line 55 of file Compression_Valence_Component.h.

◆ operator-()

const Point_Int Point_Int::operator- ( const Point_Int Pt) const
inline

Negation operator.

Parameters
PtThe point.
Returns
The result of the operation.

Definition at line 74 of file Compression_Valence_Component.h.

◆ operator==()

bool Point_Int::operator== ( const Point_Int Pt) const
inline

Comparison operatior ==.

Parameters
PtThe point.
Returns
true if the parameters are considered equivalent.

Definition at line 93 of file Compression_Valence_Component.h.

Member Data Documentation

◆ x

int Point_Int::x

The x coordinate.

Definition at line 34 of file Compression_Valence_Component.h.

◆ y

int Point_Int::y

The y coordinate.

Definition at line 35 of file Compression_Valence_Component.h.

◆ z

int Point_Int::z

The z coordinate.

Definition at line 36 of file Compression_Valence_Component.h.


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