OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
NullGeometry.cpp
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2// $RCSfile: NullGeometry.cpp,v $
3// ------------------------------------------------------------------------
4// $Revision: 1.1.1.1 $
5// ------------------------------------------------------------------------
6// Copyright: see Copyright.readme
7// ------------------------------------------------------------------------
8//
9// Class: NullGeometry
10// A geometry representing an identity transform.
11//
12// ------------------------------------------------------------------------
13// Class category: BeamlineGeometry
14// ------------------------------------------------------------------------
15//
16// $Date: 2000/03/27 09:32:34 $
17// $Author: fci $
18//
19// ------------------------------------------------------------------------
20
23
24// Class NullGeometry
25// ------------------------------------------------------------------------
26
28
29double NullGeometry::getArcLength() const { return 0.0; }
30
31double NullGeometry::getElementLength() const { return 0.0; }
32
33double NullGeometry::getOrigin() const { return 0.0; }
34
35Euclid3D NullGeometry::getTransform(double, double) const { return Euclid3D::identity(); }
36
Displacement and rotation in space.
Definition Euclid3D.h:67
static Euclid3D identity()
Make identity.
Definition Euclid3D.cpp:97
virtual ~NullGeometry()
virtual double getArcLength() const
Get arc length.
virtual double getOrigin() const
Get origin position.
virtual Euclid3D getTransform(double fromS, double toS) const
Get transform.
virtual double getElementLength() const
Get design length.