Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Point_2.h File Reference
Include dependency graph for Point_2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Point_2< T >
 

Functions

template<class R >
std::ostream & operator<< (std::ostream &os, const Point_2< R > &p)
 
template<class R >
std::istream & operator>> (std::istream &is, Point_2< R > &p)
 
template<class R >
Point_2< R > operator+ (const Origin &o, const Vector_2< R > &v)
 
template<class R >
Point_2< R > operator- (const Origin &o, const Vector_2< R > &v)
 
template<class R >
Vector_2< R > operator- (const Point_2< R > &p, const Origin &)
 
template<class R >
CGAL_END_NAMESPACE
CGAL_BEGIN_NAMESPACE bool 
operator== (const Origin &o, const Point_2< R > &p)
 
template<class R >
bool operator!= (const Origin &o, const Point_2< R > &p)
 

Function Documentation

bool operator!= ( const Origin o,
const Point_2< R > &  p 
)
inline

Definition at line 245 of file Point_2.h.

246 { return p != o; }
Point_2<R> operator+ ( const Origin o,
const Vector_2< R > &  v 
)
inline

Definition at line 92 of file point_vector_definitions_2.C.

93 { return vector_to_point_conversion(v) ; }
Point_2< R > vector_to_point_conversion(const Vector_2< R > &v)
Point_2<R> operator- ( const Origin o,
const Vector_2< R > &  v 
)
inline

Definition at line 98 of file point_vector_definitions_2.C.

Referenced by Direction_3< R, T >::operator-(), Vector_3< Real >::operator-(), Direction_2< R, T >::operator-(), and Vector_2< T >::operator-().

99 { return vector_to_point_conversion(-v) ; }
Point_2< R > vector_to_point_conversion(const Vector_2< R > &v)

Here is the caller graph for this function:

Vector_2<R> operator- ( const Point_2< R > &  p,
const Origin  
)
inline

Definition at line 113 of file point_vector_definitions_2.C.

114 { return point_to_vector_conversion(p) ; }
CGAL_BEGIN_NAMESPACE Vector_2< R > point_to_vector_conversion(const Point_2< R > &p)
std::ostream& operator<< ( std::ostream &  os,
const Point_2< R > &  p 
)

Definition at line 189 of file Point_2.h.

190 {
191  typedef typename R::Point_2_base RPoint_2;
192  return os << (const RPoint_2&)p;
193 }
std::istream& operator>> ( std::istream &  is,
Point_2< R > &  p 
)

Definition at line 199 of file Point_2.h.

200 {
201  typedef typename R::Point_2_base RPoint_2;
202  return is >> (RPoint_2&)p;
203 }