SFF++ library: reading and writing SFF from C++

◆ coosysID() [1/2]

char sff::coosysID ( const Ecoosys csid)

Definition at line 145 of file sffxx.cc.

References CS_cartesian, and CS_spherical.

Referenced by sff::SRCE::line(), sff::INFO::line(), sff::SRCE::read(), and sff::INFO::read().

146  {
147  char retval;
148  if (csid == CS_cartesian) retval='C';
149  else if (csid == CS_spherical) retval='S';
150  else throw
151  GSE2::Terror("ERROR (sff::coosysID): library inconsistency!");
152  return(retval);
153  } // coosysID
Here is the caller graph for this function: