Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mapbasic.h File Reference
#include <cstdlib>
#include <iostream>
#include <cmath>
#include "Element_accessors.h"
Include dependency graph for mapbasic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Origin
 
class  Null_vector
 
class  Vector_3< Type >
 Some basic geometric data types. More...
 
class  Point_3< T >
 
class  Vector_2< Type >
 
class  Point_2< T >
 

Macros

#define MAP_BEGIN_NAMESPACE   namespace MAP {
 
#define MAP_END_NAMESPACE   }
 
#define USE_MAP_NAMESPACE   using namespace MAP;
 

Typedefs

typedef double Real
 

Enumerations

enum  { E2N_USER =0, E2N_ONE =1, E2N_AREA =2, E2N_ANGLE =3 }
 

Functions

template<class T >
Vector_3< T > operator* (T t, const Vector_3< T > &v)
 
template<class Type >
std::ostream & operator<< (std::ostream &os, const Vector_3< Type > &p)
 
template<class Type >
std::ostream & operator<< (std::ostream &os, const Point_3< Type > &p)
 
template<class T >
Vector_2< T > operator* (T t, const Vector_2< T > &v)
 
template<class Type >
std::ostream & operator<< (std::ostream &os, const Vector_2< Type > &p)
 
template<class Type >
std::ostream & operator<< (std::ostream &os, const Point_2< Type > &p)
 

Macro Definition Documentation

#define MAP_BEGIN_NAMESPACE   namespace MAP {

Definition at line 28 of file mapbasic.h.

#define MAP_END_NAMESPACE   }

Definition at line 29 of file mapbasic.h.

#define USE_MAP_NAMESPACE   using namespace MAP;

Definition at line 30 of file mapbasic.h.

Typedef Documentation

typedef double Real

Definition at line 322 of file mapbasic.h.

Enumeration Type Documentation

anonymous enum
Enumerator
E2N_USER 
E2N_ONE 
E2N_AREA 
E2N_ANGLE 

Definition at line 325 of file mapbasic.h.

Function Documentation

Vector_3<T> operator* ( t,
const Vector_3< T > &  v 
)

Definition at line 139 of file mapbasic.h.

Referenced by Aff_transformation_2< R_ >::operator*().

139 { return v*t; }

Here is the caller graph for this function:

Vector_2<T> operator* ( t,
const Vector_2< T > &  v 
)

Definition at line 266 of file mapbasic.h.

266 { return v*t; }
std::ostream& operator<< ( std::ostream &  os,
const Vector_3< Type > &  p 
)

Definition at line 142 of file mapbasic.h.

References Vector_3< Type >::x().

142  {
143  return os << '(' << p.x() << ',' << p.y() << ',' << p.z() << ')';
144 }
Type z() const
Definition: mapbasic.h:65
Type y() const
Definition: mapbasic.h:64
Type x() const
Definition: mapbasic.h:63

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const Point_3< Type > &  p 
)

Definition at line 194 of file mapbasic.h.

References Vector_3< Type >::x().

194  {
195  return os << '(' << p.x() << ',' << p.y() << ',' << p.z() << ')';
196 }
FT x() const
Definition: Point_3.h:129
FT y() const
Definition: Point_3.h:132
FT z() const
Definition: Point_3.h:135

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const Vector_2< Type > &  p 
)

Definition at line 269 of file mapbasic.h.

References Vector_2< Type >::x().

269  {
270  return os << '(' << p.x() << ',' << p.y() << ')';
271 }
Type x() const
Definition: mapbasic.h:208
Type y() const
Definition: mapbasic.h:209

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const Point_2< Type > &  p 
)

Definition at line 318 of file mapbasic.h.

References Vector_2< Type >::x().

318  {
319  return os << '(' << p.x() << ',' << p.y() << ')';
320 }
FT y() const
Definition: Point_2.h:144
FT x() const
Definition: Point_2.h:139

Here is the call graph for this function: