SFF++ library: reading and writing SFF from C++
◆
coosysID()
[2/2]
Ecoosys
sff::coosysID
(
const char &
csid
)
Definition at line
155
of file
sffxx.cc
.
References
CS_cartesian
, and
CS_spherical
.
156
{
157
Ecoosys
retval;
158
if
(csid==
'C'
) { retval=
CS_cartesian
; }
159
else
if
(csid==
'S'
) { retval=
CS_spherical
; }
160
else
throw
161
GSE2::Terror(
"ERROR (sff::coosysID): unknown coordinate system key!"
);
162
return
(retval);
163
}
// coosysID
sff::Ecoosys
Ecoosys
valid coordinate systems
Definition:
sffxx.h:104
sff::CS_cartesian
Definition:
sffxx.h:105
sff::CS_spherical
Definition:
sffxx.h:106
sff
Generated on Mon Aug 21 2023 17:36:13 for SFF++ library: reading and writing SFF from C++ by
1.8.14