#include <Concepts/Periodic_3Offset_3.h>
|
| int | operator[] (int i) |
| | Return the \( i\)-th entry of o. More...
|
| |
| int | x () const |
| | Return the \( x\)-entry of o. More...
|
| |
| int | y () const |
| | Return the \( y\)-entry of o. More...
|
| |
| int | z () |
| | Return the \( z\)-entry of o. More...
|
| |
| bool | is_null () const |
| | Returns true if o is equal to (0,0,0). More...
|
| |
| istream & | operator>> (istream &is, Periodic_3_offset_3 &off) |
| | Inputs an offset from is. More...
|
| |
| ostream & | operator<< (ostream &os, Periodic_3_offset_3 &off) const |
| | Outputs an offset from os. More...
|
| |
◆ Periodic_3Offset_3() [1/2]
| Periodic_3Offset_3::Periodic_3Offset_3 |
( |
| ) |
|
◆ Periodic_3Offset_3() [2/2]
| Periodic_3Offset_3::Periodic_3Offset_3 |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Constructs the offset (x,y,z).
◆ is_null()
| bool Periodic_3Offset_3::is_null |
( |
| ) |
const |
Returns true if o is equal to (0,0,0).
◆ operator!=()
Return true if other and o do not represent the same vector.
◆ operator+()
Return the vector sum of o and other.
◆ operator+=()
Add other to o using vector addition.
◆ operator-() [1/2]
Return the negative vector of o.
◆ operator-() [2/2]
Return the vector difference of o and other.
◆ operator-=()
Subtract other from o using vector subtraction.
◆ operator<()
Compare o and other lexicographically.
◆ operator<<()
| ostream& Periodic_3Offset_3::operator<< |
( |
ostream & |
os, |
|
|
Periodic_3_offset_3 & |
off |
|
) |
| const |
Outputs an offset from os.
◆ operator==()
Return true if other and o represent the same vector.
◆ operator>>()
| istream& Periodic_3Offset_3::operator>> |
( |
istream & |
is, |
|
|
Periodic_3_offset_3 & |
off |
|
) |
| |
Inputs an offset from is.
◆ operator[]()
| int Periodic_3Offset_3::operator[] |
( |
int |
i | ) |
|
Return the \( i\)-th entry of o.
◆ x()
| int Periodic_3Offset_3::x |
( |
| ) |
const |
Return the \( x\)-entry of o.
◆ y()
| int Periodic_3Offset_3::y |
( |
| ) |
const |
Return the \( y\)-entry of o.
◆ z()
| int Periodic_3Offset_3::z |
( |
| ) |
|
Return the \( z\)-entry of o.