OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Offset.h File Reference
#include "AbsBeamline/Component.h"
#include "BeamlineGeometry/Euclid3DGeometry.h"
#include "Fields/EMField.h"
#include <string>
Include dependency graph for Offset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Offset

Functions

bool operator== (const Offset &off1, const Offset &off2)
bool operator!= (const Offset &off1, const Offset &off2)
std::ostream & operator<< (std::ostream &out, const Offset &off1)

Function Documentation

◆ operator!=()

bool operator!= ( const Offset & off1,
const Offset & off2 )

Return not of operator ==

Definition at line 227 of file Offset.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
const Offset & off1 )

Print Offset off1 to the ostream

Definition at line 231 of file Offset.cpp.

References Offset::getEndDirection(), Offset::getEndPosition(), Offset::getIsLocal(), and ElementBase::getName().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const Offset & off1,
const Offset & off2 )

Return true if off1 is equal to off2 within static floating point tolerance

Definition at line 202 of file Offset.cpp.

References Offset::float_tolerance, Rotation3D::getAxis(), Offset::getEndDirection(), Offset::getEndPosition(), Offset::getGeometry(), Offset::getIsLocal(), ElementBase::getName(), Euclid3D::getRotation(), Euclid3DGeometry::getTotalTransform(), Euclid3D::getVector(), and Offset::isGeometryAllocated().

Here is the call graph for this function: