Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
9170e5d4
Commit
9170e5d4
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
privatize
parent
26587c10
No related branches found
No related tags found
1 merge request
!1556
cleanup CoordSyst classes
Pipeline
#94798
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Device/Coord/CoordSystem2D.h
+6
-6
6 additions, 6 deletions
Device/Coord/CoordSystem2D.h
with
6 additions
and
6 deletions
Device/Coord/CoordSystem2D.h
+
6
−
6
View file @
9170e5d4
...
@@ -31,8 +31,6 @@ public:
...
@@ -31,8 +31,6 @@ public:
CoordSystem2D
(
const
std
::
vector
<
const
IAxis
*>&
axes
);
CoordSystem2D
(
const
std
::
vector
<
const
IAxis
*>&
axes
);
~
CoordSystem2D
()
override
=
default
;
~
CoordSystem2D
()
override
=
default
;
size_t
rank
()
const
override
{
return
m_axes
.
size
();
}
double
calculateMin
(
size_t
i_axis
,
Coords
units
)
const
override
;
double
calculateMin
(
size_t
i_axis
,
Coords
units
)
const
override
;
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
override
;
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
override
;
...
@@ -42,6 +40,8 @@ public:
...
@@ -42,6 +40,8 @@ public:
IAxis
*
createConvertedAxis
(
size_t
i_axis
,
Coords
units
)
const
override
;
IAxis
*
createConvertedAxis
(
size_t
i_axis
,
Coords
units
)
const
override
;
size_t
rank
()
const
override
{
return
m_axes
.
size
();
}
protected
:
protected
:
CoordSystem2D
(
const
CoordSystem2D
&
other
);
CoordSystem2D
(
const
CoordSystem2D
&
other
);
...
@@ -62,13 +62,13 @@ public:
...
@@ -62,13 +62,13 @@ public:
SphericalCoords
*
clone
()
const
override
;
SphericalCoords
*
clone
()
const
override
;
private:
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
private
:
SphericalCoords
(
const
SphericalCoords
&
other
);
//!< used by clone()
SphericalCoords
(
const
SphericalCoords
&
other
);
//!< used by clone()
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
const
R3
m_ki
;
const
R3
m_ki
;
...
@@ -86,13 +86,13 @@ public:
...
@@ -86,13 +86,13 @@ public:
ImageCoords
*
clone
()
const
override
;
ImageCoords
*
clone
()
const
override
;
private:
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
Coords
defaultUnits
()
const
override
{
return
Coords
::
MM
;
}
Coords
defaultUnits
()
const
override
{
return
Coords
::
MM
;
}
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
private
:
ImageCoords
(
const
ImageCoords
&
other
);
//!< used by clone()
ImageCoords
(
const
ImageCoords
&
other
);
//!< used by clone()
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
...
@@ -111,11 +111,11 @@ public:
...
@@ -111,11 +111,11 @@ public:
OffspecCoords
*
clone
()
const
override
;
OffspecCoords
*
clone
()
const
override
;
private:
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
private
:
OffspecCoords
(
const
OffspecCoords
&
other
);
//!< used by clone()
OffspecCoords
(
const
OffspecCoords
&
other
);
//!< used by clone()
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
double
calculateValue
(
size_t
i_axis
,
Coords
units
,
double
value
)
const
override
;
};
};
...
@@ -131,13 +131,13 @@ public:
...
@@ -131,13 +131,13 @@ public:
DepthprobeCoords
*
clone
()
const
override
;
DepthprobeCoords
*
clone
()
const
override
;
private:
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
std
::
vector
<
Coords
>
availableUnits
()
const
override
;
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
Coords
defaultUnits
()
const
override
{
return
Coords
::
DEGREES
;
}
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
std
::
string
nameOfAxis
(
size_t
i_axis
,
Coords
units
=
Coords
::
UNDEFINED
)
const
override
;
private
:
DepthprobeCoords
(
const
DepthprobeCoords
&
other
);
//!< used by clone()
DepthprobeCoords
(
const
DepthprobeCoords
&
other
);
//!< used by clone()
double
calculateValue
(
size_t
,
Coords
units
,
double
value
)
const
override
;
double
calculateValue
(
size_t
,
Coords
units
,
double
value
)
const
override
;
const
double
m_ki0
;
const
double
m_ki0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment