Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlaneS3.h File Reference
#include <CGAL/SimpleCartesian/PointS2.h>
#include <CGAL/solve.h>
#include <CGAL/SimpleCartesian/basic_constructionsS3.h>
#include <CGAL/SimpleCartesian/LineS3.h>
Include dependency graph for PlaneS3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PlaneS3< FT >
 

Functions

template<class FT >
std::ostream & operator<< (std::ostream &os, const PlaneS3< FT > &p)
 
template<class FT >
std::istream & operator>> (std::istream &is, PlaneS3< FT > &p)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const PlaneS3< FT > &  p 
)

Definition at line 414 of file PlaneS3.h.

References IO::ASCII, IO::BINARY, IO::mode, and write().

415 {
416  switch(os.iword(IO::mode)) {
417  case IO::ASCII :
418  return os << p.a() << ' ' << p.b() << ' ' << p.c() << ' ' << p.d();
419  case IO::BINARY :
420  write(os, p.a());
421  write(os, p.b());
422  write(os, p.c());
423  write(os, p.d());
424  return os;
425  default:
426  os << "PlaneS3(" << p.a() << ", " << p.b() << ", ";
427  os << p.c() << ", " << p.d() <<")";
428  return os;
429  }
430 }
const FT & d() const
Definition: PlaneS3.h:234
Definition: io.h:64
const FT & c() const
Definition: PlaneS3.h:229
void write(std::ostream &os, const T &t, const io_Read_write &)
Definition: io.h:96
const FT & b() const
Definition: PlaneS3.h:224
static int mode
Definition: io.h:63
Definition: io.h:64
const FT & a() const
Definition: PlaneS3.h:219

Here is the call graph for this function:

std::istream& operator>> ( std::istream &  is,
PlaneS3< FT > &  p 
)

Definition at line 435 of file PlaneS3.h.

References IO::ASCII, IO::BINARY, d, IO::mode, and read().

436 {
437  FT a, b, c, d;
438  switch(is.iword(IO::mode)) {
439  case IO::ASCII :
440  is >> a >> b >> c >> d;
441  break;
442  case IO::BINARY :
443  read(is, a);
444  read(is, b);
445  read(is, c);
446  read(is, d);
447  break;
448  default:
449  cerr << "" << endl;
450  cerr << "Stream must be in ascii or binary mode" << endl;
451  break;
452  }
453  p = PlaneS3<FT>(a, b, c, d);
454  return is;
455 }
const NT & d
Definition: io.h:64
static int mode
Definition: io.h:63
Definition: io.h:64
void read(std::istream &is, T &t, const io_Read_write &)
Definition: io.h:132

Here is the call graph for this function: