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

Go to the source code of this file.

Functions

template<class R >
CGAL_BEGIN_NAMESPACE Vector_3< R > point_to_vector_conversion (const Point_3< R > &p)
 
template<class R >
Point_3< R > vector_to_point_conversion (const Vector_3< R > &v)
 
template<class R >
Point_3< R > operator+ (const Point_3< R > &p, const Vector_3< R > &v)
 
template<class R >
Point_3< R > operator- (const Point_3< R > &p, const Vector_3< R > &v)
 
template<class R >
Point_3< R > operator+ (const Origin &, const Vector_3< R > &v)
 
template<class R >
Point_3< R > operator- (const Origin &, const Vector_3< R > &v)
 
template<class R >
Vector_3< R > operator- (const Point_3< R > &p, const Point_3< R > &q)
 
template<class R >
Vector_3< R > operator- (const Point_3< R > &p, const Origin &)
 
template<class R >
Vector_3< R > operator- (const Origin &, const Point_3< R > &p)
 

Function Documentation

Point_3<R> operator+ ( const Point_3< R > &  p,
const Vector_3< R > &  v 
)
inline

Definition at line 72 of file point_vector_definitions_3.C.

References v.

73 {
74  typedef typename R::Point_3_base RPoint_3;
75  typedef typename R::Vector_3_base RVector_3;
76  return Point_3<R>((const RPoint_3& )p + (const RVector_3& )v) ;
77 }
Point_3<R> operator+ ( const Origin ,
const Vector_3< R > &  v 
)
inline

Definition at line 92 of file point_vector_definitions_3.C.

References vector_to_point_conversion().

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

Here is the call graph for this function:

Point_3<R> operator- ( const Point_3< R > &  p,
const Vector_3< R > &  v 
)
inline

Definition at line 82 of file point_vector_definitions_3.C.

References v.

83 {
84  typedef typename R::Point_3_base RPoint_3;
85  typedef typename R::Vector_3_base RVector_3;
86  return Point_3<R>((const RPoint_3& )p - (const RVector_3& )v) ;
87 }
Point_3<R> operator- ( const Origin ,
const Vector_3< R > &  v 
)
inline

Definition at line 98 of file point_vector_definitions_3.C.

References vector_to_point_conversion().

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

Here is the call graph for this function:

Vector_3<R> operator- ( const Point_3< R > &  p,
const Point_3< R > &  q 
)
inline

Definition at line 104 of file point_vector_definitions_3.C.

References q.

105 {
106  typedef typename R::Point_3_base RPoint_3;
107  return Vector_3<R>((const RPoint_3& )p - (const RPoint_3& )q) ;
108 }
Some basic geometric data types.
Definition: mapbasic.h:54
Vector_3<R> operator- ( const Point_3< R > &  p,
const Origin  
)
inline

Definition at line 113 of file point_vector_definitions_3.C.

References point_to_vector_conversion().

114 { return point_to_vector_conversion(p) ; }
CGAL_BEGIN_NAMESPACE Vector_2< R > point_to_vector_conversion(const Point_2< R > &p)

Here is the call graph for this function:

Vector_3<R> operator- ( const Origin ,
const Point_3< R > &  p 
)
inline

Definition at line 119 of file point_vector_definitions_3.C.

References ORIGIN.

120 {
121  typedef typename R::Point_3_base RPoint_3;
122  return Vector_3<R>(ORIGIN - (const RPoint_3& )p) ;
123 }
Origin ORIGIN
Definition: Origin.C:61
Some basic geometric data types.
Definition: mapbasic.h:54
CGAL_BEGIN_NAMESPACE Vector_3<R> point_to_vector_conversion ( const Point_3< R > &  p)
inline

Definition at line 60 of file point_vector_definitions_3.C.

61 { return Vector_3<R>(p); }
Some basic geometric data types.
Definition: mapbasic.h:54
Point_3<R> vector_to_point_conversion ( const Vector_3< R > &  v)
inline

Definition at line 66 of file point_vector_definitions_3.C.

References v.

67 { return Point_3<R>(v); }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20