Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vector_3< Type > Class Template Reference

Some basic geometric data types. More...

#include <mapbasic.h>

Inheritance diagram for Vector_3< Type >:
Collaboration diagram for Vector_3< Type >:

Public Types

typedef R_ R
 
typedef R::RT RT
 
typedef R::FT FT
 
typedef R::Vector_3_base RVector_3
 

Public Member Functions

 Vector_3 ()
 
 Vector_3 (Type t)
 
 Vector_3 (Null_vector)
 
 Vector_3 (Type a, Type b, Type c)
 
Type & operator[] (const int i)
 
const Type & operator[] (const int i) const
 
Type x () const
 
Type y () const
 
Type z () const
 
Vector_3operator+= (const Type t)
 Assign operators. More...
 
Vector_3operator+= (const Vector_3 &v)
 
Vector_3operator-= (const Type t)
 
Vector_3operator-= (const Vector_3 &v)
 
Vector_3operator*= (const Type t)
 
Vector_3operator*= (const Vector_3 &v)
 
Vector_3operator/= (const Type t)
 
Vector_3operator/= (const Vector_3 &v)
 
Vector_3 operator+ (const Type t) const
 Arithmatic operators. More...
 
Vector_3 operator+ (const Vector_3 &v) const
 
Vector_3 operator- (const Type t) const
 
Vector_3 operator- (const Vector_3 &v) const
 
Vector_3 operator* (const Type t) const
 
Vector_3 operator/ (const Type t) const
 
Type operator* (const Vector_3 &v) const
 
Vector_3 operator- () const
 
Type squared_norm () const
 
Type norm () const
 
Vector_3normalize ()
 
Vector_3neg ()
 
bool operator== (const Vector_3 &p) const
 
bool operator!= (const Vector_3 &p) const
 
bool operator< (const Vector_3 &v) const
 
bool is_null () const
 
 Vector_3 ()
 
 Vector_3 (const CGAL::Vector_3< R > &v)
 
 Vector_3 (const RVector_3 &v)
 
 Vector_3 (const Null_vector &v)
 
 Vector_3 (const RT &x, const RT &y, const RT &z)
 
 Vector_3 (const RT &x, const RT &y, const RT &z, const RT &w)
 
bool operator== (const CGAL::Vector_3< R > &v) const
 
bool operator!= (const CGAL::Vector_3< R > &v) const
 
bool operator== (const Null_vector &v) const
 
bool operator!= (const Null_vector &v) const
 
RT hx () const
 
RT hy () const
 
RT hz () const
 
RT hw () const
 
FT x () const
 
FT y () const
 
FT z () const
 
RT homogeneous (int i) const
 
FT cartesian (int i) const
 
FT operator[] (int i) const
 
int dimension () const
 
CGAL::Vector_3< Roperator+ (const CGAL::Vector_3< R > &w) const
 
CGAL::Vector_3< Roperator- (const CGAL::Vector_3< R > &w) const
 
CGAL::Vector_3< Roperator- () const
 
FT operator* (const CGAL::Vector_3< R > &w) const
 
CGAL::Vector_3< Roperator* (const RT &c) const
 
CGAL::Vector_3< Roperator* (const Quotient< RT > &q) const
 
CGAL::Vector_3< Roperator/ (const Quotient< RT > &q) const
 
CGAL::Vector_3< Roperator/ (const RT &c) const
 
CGAL::Direction_3< Rdirection () const
 
CGAL::Vector_3< Rtransform (const CGAL::Aff_transformation_3< R > &t) const
 

Static Public Member Functions

static Vector_3 cross_product (const Vector_3 &v, const Vector_3 &w)
 

Protected Attributes

Type _x
 
Type _y
 
Type _z
 

Private Member Functions

 Vector_3 (const CGAL::Point_3< R > &p)
 
 Vector_3 (const CGAL::Direction_3< R > &d)
 

Friends

CGAL_FRIEND_INLINE
CGAL::Vector_3< R >
point_to_vector_conversion 
CGAL_NULL_TMPL_ARGS (const CGAL::Point_3< R > &p)
 

Detailed Description

template<class Type>
class Vector_3< Type >

Some basic geometric data types.

Definition at line 54 of file mapbasic.h.

Member Typedef Documentation

typedef R::FT FT

Definition at line 82 of file Vector_3.h.

typedef R_ R

Definition at line 80 of file Vector_3.h.

typedef R::RT RT

Definition at line 81 of file Vector_3.h.

typedef R::Vector_3_base RVector_3

Definition at line 83 of file Vector_3.h.

Constructor & Destructor Documentation

Vector_3 ( )
inline

Definition at line 56 of file mapbasic.h.

Referenced by Vector_3< Real >::cross_product(), Vector_3< Real >::operator*(), Vector_3< Real >::operator+(), Vector_3< Real >::operator-(), and Vector_3< Real >::operator/().

56 {}

Here is the caller graph for this function:

Vector_3 ( Type  t)
inlineexplicit

Definition at line 57 of file mapbasic.h.

57 : _x(t), _y(t), _z(t) {}
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 ( Null_vector  )
inline

Definition at line 58 of file mapbasic.h.

58 : _x(0), _y(0), _z(0) {}
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 ( Type  a,
Type  b,
Type  c 
)
inline

Definition at line 59 of file mapbasic.h.

59 : _x(a), _y(b), _z(c) {}
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 ( )
inline

Definition at line 94 of file Vector_3.h.

95  {}
Vector_3 ( const CGAL::Vector_3< R > &  v)
inline

Definition at line 96 of file Vector_3.h.

97  : RVector_3( (const RVector_3& )v )
98  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
*********************************************************************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
Vector_3 ( const RVector_3< Type > &  v)
inline

Definition at line 99 of file Vector_3.h.

99  : RVector_3(v)
100  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
*********************************************************************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
Vector_3 ( const Null_vector v)
inline

Definition at line 101 of file Vector_3.h.

101  : RVector_3(v)
102  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Vector_3 ( const RT x,
const RT y,
const RT z 
)
inline

Definition at line 103 of file Vector_3.h.

104  : RVector_3(x, y, z)
105  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Type z() const
Definition: mapbasic.h:65
Type y() const
Definition: mapbasic.h:64
Type x() const
Definition: mapbasic.h:63
Vector_3 ( const RT x,
const RT y,
const RT z,
const RT w 
)
inline

Definition at line 106 of file Vector_3.h.

107  : RVector_3(x, y, z, w)
108  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Type z() const
Definition: mapbasic.h:65
Type y() const
Definition: mapbasic.h:64
Type x() const
Definition: mapbasic.h:63
Vector_3 ( const CGAL::Point_3< R > &  p)
inlineprivate

Definition at line 172 of file Vector_3.h.

172  : RVector_3(p)
173  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Vector_3 ( const CGAL::Direction_3< R > &  d)
inlineprivate

Definition at line 174 of file Vector_3.h.

174  : RVector_3(d)
175  {}
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
const NT & d

Member Function Documentation

FT cartesian ( int  i) const
inline

Definition at line 134 of file Vector_3.h.

Referenced by Vector_3< Real >::operator[]().

135  { return RVector_3::cartesian(i); }
blockLoc i
Definition: read.cpp:79

Here is the caller graph for this function:

int dimension ( ) const
inline

Definition at line 138 of file Vector_3.h.

139  { return 3; }
CGAL::Direction_3<R> direction ( ) const
inline

Definition at line 166 of file Vector_3.h.

167  { return RVector_3::direction(); }
RT homogeneous ( int  i) const
inline

Definition at line 132 of file Vector_3.h.

133  { return RVector_3::homogeneous(i); }
blockLoc i
Definition: read.cpp:79
RT hw ( ) const
inline

Definition at line 124 of file Vector_3.h.

125  { return RVector_3::hw(); }
RT hx ( ) const
inline

Definition at line 118 of file Vector_3.h.

119  { return RVector_3::hx(); }
RT hy ( ) const
inline

Definition at line 120 of file Vector_3.h.

121  { return RVector_3::hy(); }
RT hz ( ) const
inline

Definition at line 122 of file Vector_3.h.

123  { return RVector_3::hz(); }
bool is_null ( ) const
inline

Definition at line 133 of file mapbasic.h.

Referenced by Propagation_3::bound_spherical_disp().

133 { return _x==0&&_y==0&&_z==0; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135

Here is the caller graph for this function:

Vector_3& neg ( )
inline

Definition at line 120 of file mapbasic.h.

120  {
121  _x = -_x; _y = -_y; _z = -_z; return *this;
122  }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Type norm ( ) const
inline
bool operator!= ( const CGAL::Vector_3< R > &  v) const
inline

Definition at line 112 of file Vector_3.h.

113  { return !(*this == 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
bool operator!= ( const Null_vector v) const
inline

Definition at line 116 of file Vector_3.h.

117  { return !(*this == 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
bool operator!= ( const Vector_3< Type > &  p) const
inline

Definition at line 126 of file mapbasic.h.

127  { return x()!=p.x() || y()!=p.y() || z()!=p.z(); }
Type z() const
Definition: mapbasic.h:65
Type y() const
Definition: mapbasic.h:64
Type x() const
Definition: mapbasic.h:63
Vector_3 operator* ( const Type  t) const
inline

Definition at line 94 of file mapbasic.h.

95  { return Vector_3(_x*t, _y*t, _z*t); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Type operator* ( const Vector_3< Type > &  v) const
inline

Definition at line 98 of file mapbasic.h.

99  { return _x*v._x + _y*v._y + _z*v._z; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
FT operator* ( const CGAL::Vector_3< R > &  w) const
inline

Definition at line 146 of file Vector_3.h.

147  { return (const RVector_3& )(*this) * (const RVector_3& )(w); }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
CGAL::Vector_3<R> operator* ( const RT c) const
inline

Definition at line 150 of file Vector_3.h.

151  { return c * (const RVector_3& )(*this) ; }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
CGAL::Vector_3<R> operator* ( const Quotient< RT > &  q) const
inline

Definition at line 152 of file Vector_3.h.

153  {
154  return (q.numerator() * (const RVector_3& )(*this)) /
155  q.denominator();
156  }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Vector_3& operator*= ( const Type  t)
inline

Definition at line 76 of file mapbasic.h.

77  { _x*=t; _y*=t; _z*=t; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3& operator*= ( const Vector_3< Type > &  v)
inline

Definition at line 78 of file mapbasic.h.

79  { _x*=v._x; _y*=v._y; _z*=v._z; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator+ ( const Type  t) const
inline

Arithmatic operators.

Definition at line 86 of file mapbasic.h.

87  { return Vector_3(_x+t, _y+t, _z+t); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator+ ( const Vector_3< Type > &  v) const
inline

Definition at line 88 of file mapbasic.h.

89  { return Vector_3(_x+v._x, _y+v._y, _z+v._z); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
CGAL::Vector_3<R> operator+ ( const CGAL::Vector_3< R > &  w) const
inline

Definition at line 140 of file Vector_3.h.

141  { return (const RVector_3& )(*this) + (const RVector_3& )(w); }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Vector_3& operator+= ( const Type  t)
inline

Assign operators.

Definition at line 68 of file mapbasic.h.

69  { _x+=t; _y+=t; _z+=t; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3& operator+= ( const Vector_3< Type > &  v)
inline

Definition at line 70 of file mapbasic.h.

71  { _x+=v._x; _y+=v._y; _z+=v._z; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator- ( const Type  t) const
inline

Definition at line 90 of file mapbasic.h.

91  { return Vector_3(_x-t, _y-t, _z-t); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator- ( const Vector_3< Type > &  v) const
inline

Definition at line 92 of file mapbasic.h.

93  { return Vector_3(_x-v._x, _y-v._y, _z-v._z); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator- ( ) const
inline

Definition at line 101 of file mapbasic.h.

102  { return Vector_3(-_x, -_y, -_z); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
CGAL::Vector_3<R> operator- ( const CGAL::Vector_3< R > &  w) const
inline

Definition at line 142 of file Vector_3.h.

143  { return (const RVector_3& )(*this) - (const RVector_3& )(w); }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
CGAL::Vector_3<R> operator- ( ) const
inline

Definition at line 144 of file Vector_3.h.

145  { return RVector_3::operator-(); }
Point_2< R > operator-(const Origin &o, const Vector_2< R > &v)
Vector_3& operator-= ( const Type  t)
inline

Definition at line 72 of file mapbasic.h.

73  { _x-=t; _y-=t; _z-=t; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3& operator-= ( const Vector_3< Type > &  v)
inline

Definition at line 74 of file mapbasic.h.

75  { _x-=v._x; _y-=v._y; _z-=v._z; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3 operator/ ( const Type  t) const
inline

Definition at line 96 of file mapbasic.h.

97  { return Vector_3(_x/t, _y/t, _z/t); }
Type _z
Definition: mapbasic.h:135
Vector_3()
Definition: mapbasic.h:56
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
CGAL::Vector_3<R> operator/ ( const Quotient< RT > &  q) const
inline

Definition at line 157 of file Vector_3.h.

158  {
159  return (q.denominator() * (const RVector_3& )(*this)) /
160  q.numerator();
161  }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
CGAL::Vector_3<R> operator/ ( const RT c) const
inline

Definition at line 164 of file Vector_3.h.

165  { return (const RVector_3& )(*this) / c; }
R::Vector_3_base RVector_3
Definition: Vector_3.h:83
Vector_3& operator/= ( const Type  t)
inline

Definition at line 80 of file mapbasic.h.

81  { _x/=t; _y/=t; _z/=t; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
Vector_3& operator/= ( const Vector_3< Type > &  v)
inline

Definition at line 82 of file mapbasic.h.

83  { _x/=v._x; _y/=v._y; _z/=v._z; return *this; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135
bool operator< ( const Vector_3< Type > &  v) const
inline

Definition at line 129 of file mapbasic.h.

Referenced by Point_3< Real >::operator<().

130  { return _x<v._x || _x==v._x && _y<v._y ||
131  _x==v._x && _y==v._y && _z<v._z; }
Type _z
Definition: mapbasic.h:135
Type _x
Definition: mapbasic.h:135
Type _y
Definition: mapbasic.h:135

Here is the caller graph for this function:

bool operator== ( const CGAL::Vector_3< R > &  v) const
inline

Definition at line 110 of file Vector_3.h.

111  { return RVector_3::operator==(v); }
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE bool operator==(const Origin &o, const Point_2< R > &p)
Definition: Point_2.h:239
*********************************************************************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
bool operator== ( const Null_vector v) const
inline

Definition at line 114 of file Vector_3.h.

115  { return RVector_3::operator==(v); }
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE bool operator==(const Origin &o, const Point_2< R > &p)
Definition: Point_2.h:239
bool operator== ( const Vector_3< Type > &  p) const
inline

Definition at line 124 of file mapbasic.h.

125  { return x()==p.x() && y()==p.y() && z()==p.z(); }
Type z() const
Definition: mapbasic.h:65
Type y() const
Definition: mapbasic.h:64
Type x() const
Definition: mapbasic.h:63
Type& operator[] ( const int  i)
inline

Definition at line 60 of file mapbasic.h.

60 { return (&_x)[i]; }
blockLoc i
Definition: read.cpp:79
Type _x
Definition: mapbasic.h:135
const Type& operator[] ( const int  i) const
inline

Definition at line 61 of file mapbasic.h.

61 { return (&_x)[i]; }
blockLoc i
Definition: read.cpp:79
Type _x
Definition: mapbasic.h:135
FT operator[] ( int  i) const
inline

Definition at line 136 of file Vector_3.h.

137  { return cartesian(i); }
blockLoc i
Definition: read.cpp:79
FT cartesian(int i) const
Definition: Vector_3.h:134
Type squared_norm ( ) const
inline

Definition at line 110 of file mapbasic.h.

Referenced by Propagation_3::bound_spherical_disp(), Window_manifold_2::elements_to_nodes(), FaceOffset_3::eval_angle(), Rocmop::get_constraint_directions(), Vector_3< Real >::normalize(), and Generic_element_2::solve().

110 { return *this * *this; }

Here is the caller graph for this function:

CGAL::Vector_3<R> transform ( const CGAL::Aff_transformation_3< R > &  t) const
inline

Definition at line 168 of file Vector_3.h.

169  { return RVector_3::transform(t); }
Type x ( ) const
inline
FT x ( ) const
inline

Definition at line 126 of file Vector_3.h.

127  { return RVector_3::x(); }
void int int REAL * x
Definition: read.cpp:74
Type y ( ) const
inline
FT y ( ) const
inline

Definition at line 128 of file Vector_3.h.

129  { return RVector_3::y(); }
void int int REAL REAL * y
Definition: read.cpp:74
Type z ( ) const
inline
FT z ( ) const
inline

Definition at line 130 of file Vector_3.h.

131  { return RVector_3::z(); }
void int int int REAL REAL REAL * z
Definition: write.cpp:76

Friends And Related Function Documentation

CGAL_FRIEND_INLINE CGAL::Vector_3<R> point_to_vector_conversion CGAL_NULL_TMPL_ARGS ( const CGAL::Point_3< R > &  p)
friend

Member Data Documentation


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