PPL Logo

Point_3< T > Class Template Reference

#include <mapbasic.h>

Inheritance diagram for Point_3< T >:

Inheritance graph
[legend]
Collaboration diagram for Point_3< T >:

Collaboration graph
[legend]

Public Member Functions

 Point_3 ()
 Point_3 (T t)
 Point_3 (Origin)
 Point_3 (T a, T b, T c)
T & operator[] (const int i)
const T & operator[] (const int i) const
Point_3operator+= (const Vector_3< T > &v)
 Assign operators.
Point_3operator-= (const Vector_3< T > &v)
Point_3 operator+ (const Vector_3< T > &v) const
 Arithmatic operators.
Point_3 operator- (const Vector_3< T > &v) const
Vector_3< T > operator- (const Point_3 &v) const
bool operator== (const Point_3 &p) const
bool operator!= (const Point_3 &p) const
bool operator< (const Point_3 &v) const
bool is_origin () const

Detailed Description

template<class T>
class Point_3< T >

Definition at line 126 of file mapbasic.h.


Constructor & Destructor Documentation

template<class T>
Point_3< T >::Point_3 (  )  [inline]

Definition at line 128 of file mapbasic.h.

Referenced by Point_3< T >::operator+(), and Point_3< T >::operator-().

Here is the caller graph for this function:

template<class T>
Point_3< T >::Point_3 ( t  )  [inline, explicit]

Definition at line 129 of file mapbasic.h.

template<class T>
Point_3< T >::Point_3 ( Origin   )  [inline]

Definition at line 130 of file mapbasic.h.

template<class T>
Point_3< T >::Point_3 ( a,
b,
c 
) [inline]

Definition at line 132 of file mapbasic.h.


Member Function Documentation

template<class T>
T& Point_3< T >::operator[] ( const int  i  )  [inline]

Reimplemented from Vector_3< T >.

Definition at line 133 of file mapbasic.h.

References Vector_3< T >::_x.

template<class T>
const T& Point_3< T >::operator[] ( const int  i  )  const [inline]

Reimplemented from Vector_3< T >.

Definition at line 134 of file mapbasic.h.

References Vector_3< T >::_x.

template<class T>
Point_3& Point_3< T >::operator+= ( const Vector_3< T > &  v  )  [inline]

Assign operators.

Definition at line 140 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, Vector_3< T >::_z, Vector_3< Type >::x(), Vector_3< Type >::y(), and Vector_3< Type >::z().

Here is the call graph for this function:

template<class T>
Point_3& Point_3< T >::operator-= ( const Vector_3< T > &  v  )  [inline]

Definition at line 142 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, Vector_3< T >::_z, Vector_3< Type >::x(), Vector_3< Type >::y(), and Vector_3< Type >::z().

Here is the call graph for this function:

template<class T>
Point_3 Point_3< T >::operator+ ( const Vector_3< T > &  v  )  const [inline]

Arithmatic operators.

Definition at line 146 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, Vector_3< T >::_z, Point_3< T >::Point_3(), Vector_3< Type >::x(), Vector_3< Type >::y(), and Vector_3< Type >::z().

Here is the call graph for this function:

template<class T>
Point_3 Point_3< T >::operator- ( const Vector_3< T > &  v  )  const [inline]

Definition at line 148 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, Vector_3< T >::_z, Point_3< T >::Point_3(), Vector_3< Type >::x(), Vector_3< Type >::y(), and Vector_3< Type >::z().

Here is the call graph for this function:

template<class T>
Vector_3<T> Point_3< T >::operator- ( const Point_3< T > &  v  )  const [inline]

Definition at line 150 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, Vector_3< T >::_z, Vector_3< Type >::x(), Vector_3< Type >::y(), and Vector_3< Type >::z().

Here is the call graph for this function:

template<class T>
bool Point_3< T >::operator== ( const Point_3< T > &  p  )  const [inline]

Definition at line 153 of file mapbasic.h.

References Vector_3< Type >::x(), Vector_3< T >::x(), Vector_3< Type >::y(), Vector_3< T >::y(), Vector_3< Type >::z(), and Vector_3< T >::z().

Here is the call graph for this function:

template<class T>
bool Point_3< T >::operator!= ( const Point_3< T > &  p  )  const [inline]

Definition at line 156 of file mapbasic.h.

References Vector_3< Type >::x(), Vector_3< T >::x(), Vector_3< Type >::y(), Vector_3< T >::y(), Vector_3< Type >::z(), and Vector_3< T >::z().

Here is the call graph for this function:

template<class T>
bool Point_3< T >::operator< ( const Point_3< T > &  v  )  const [inline]

Definition at line 159 of file mapbasic.h.

References Vector_3< Type >::operator<().

Here is the call graph for this function:

template<class T>
bool Point_3< T >::is_origin (  )  const [inline]

Definition at line 162 of file mapbasic.h.

References Vector_3< T >::_x, Vector_3< T >::_y, and Vector_3< T >::_z.


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:28:38 2020 for Charm++ by  doxygen 1.5.5