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

#include <simple_cartesian_classes.h>

Public Types

typedef VectorS3< FT > Self
 
typedef DirectionS3< FT > Direction
 
typedef Aff_transformationS3< FT > Aff_transformation
 

Public Member Functions

 VectorS3 ()
 
 VectorS3 (const Null_vector &)
 
 VectorS3 (const FT &x, const FT &y, const FT &z)
 
 VectorS3 (const FT &x, const FT &y, const FT &z, const FT &w)
 
bool operator== (const VectorS3< FT > &p) const
 
bool operator!= (const VectorS3< FT > &p) const
 
bool operator== (const Null_vector &) const
 
bool operator!= (const Null_vector &) const
 
const FT & x () const
 
const FT & y () const
 
const FT & z () const
 
const FT & cartesian (int i) const
 
const FT & operator[] (int i) const
 
const FT & hx () const
 
const FT & hy () const
 
const FT & hz () const
 
FT hw () const
 
FT homogeneous (int i) const
 
int dimension () const
 
VectorS3< FT > operator+ (const VectorS3< FT > &w) const
 
VectorS3< FT > operator- (const VectorS3< FT > &w) const
 
VectorS3< FT > operator- () const
 
FT operator* (const VectorS3< FT > &w) const
 
VectorS3< FT > operator/ (const FT &c) const
 
DirectionS3< FT > direction () const
 
VectorS3< FT > transform (const Aff_transformationS3< FT > &) const
 
 VectorS3 (const PointS3< FT > &p)
 
 VectorS3 (const DirectionS3< FT > &p)
 
 VectorS3 ()
 
 VectorS3 (const Null_vector &)
 
 VectorS3 (const FT &hx, const FT &hy, const FT &hz, const FT &hw)
 
 VectorS3 (const FT &x, const FT &y, const FT &z)
 
 ~VectorS3 ()
 
Selfoperator= (const Self &v)
 
bool operator== (const Self &v) const
 
bool operator== (const Null_vector &) const
 
bool operator!= (const Null_vector &) const
 
int id () const
 
FT hx () const
 
FT hy () const
 
FT hz () const
 
FT hw () const
 
FT homogeneous (int i) const
 
const FT & x () const
 
const FT & y () const
 
const FT & z () const
 
FT & x ()
 
FT & y ()
 
FT & z ()
 
const FT & cartesian (int i) const
 
FT & cartesian (int i)
 
FT & operator[] (int i)
 
const FT & operator[] (int i) const
 
int dimension () const
 
Self operator+ (const Self &v) const
 
Self operator- (const Self &v) const
 
Self operator- (const Null_vector &) const
 
Self operator- () const
 
Selfoperator+= (const Self &v)
 
Selfoperator-= (const Self &v)
 
FT operator* (const Self &v) const
 
Self operator/ (const FT &c) const
 
Selfoperator*= (const FT c)
 
Selfoperator/= (const FT c)
 
Selfoperator*= (const Self &v)
 
Selfoperator/= (const Self &v)
 
Self transform (const Aff_transformation &t) const
 
const Directiondirection () const
 
FT squared_norm () const
 

Public Attributes

FT e0
 
FT e1
 
FT e2
 

Protected Attributes

FT _x
 
FT _y
 
FT _z
 

Friends

class DirectionS3< FT >
 

Detailed Description

template<class FT>
class VectorS3< FT >

Definition at line 73 of file simple_cartesian_classes.h.

Member Typedef Documentation

typedef DirectionS3<FT> Direction

Definition at line 34 of file include/CGAL/SimpleCartesian/VectorS3.h.

typedef VectorS3<FT> Self

Definition at line 33 of file include/CGAL/SimpleCartesian/VectorS3.h.

Constructor & Destructor Documentation

VectorS3 ( )
inline

Definition at line 69 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

69 {}
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE VectorS3 ( const FT &  x,
const FT &  y,
const FT &  z,
const FT &  w 
)

Definition at line 124 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References DirectionS3< FT >::e0, DirectionS3< FT >::e1, DirectionS3< FT >::e2, x, y, and z.

125 {
126  if (w != FT(1))
127  {
128  e0 = x/w;
129  e1 = y/w;
130  e2 = z/w;
131  }
132  else
133  {
134  e0 = x;
135  e1 = y;
136  e2 = z;
137  }
138 }
VectorS3 ( )
inline

Definition at line 37 of file include/CGAL/SimpleCartesian/VectorS3.h.

37 {}
VectorS3 ( const FT &  hx,
const FT &  hy,
const FT &  hz,
const FT &  hw 
)
inline
VectorS3 ( const FT &  x,
const FT &  y,
const FT &  z 
)
inline
~VectorS3 ( )
inline

Definition at line 43 of file include/CGAL/SimpleCartesian/VectorS3.h.

43 {}

Member Function Documentation

const FT& cartesian ( int  i) const
inline

Definition at line 72 of file include/CGAL/SimpleCartesian/VectorS3.h.

References CGAL_kernel_precondition, VectorS3< FT >::x(), VectorS3< FT >::y(), and VectorS3< FT >::z().

72  {
73  CGAL_kernel_precondition( i >= 0 && i <= 2 );
74  return (i==0) ? x() :
75  (i==1) ? y() : z() ;
76  }
blockLoc i
Definition: read.cpp:79
#define CGAL_kernel_precondition(EX)

Here is the call graph for this function:

FT& cartesian ( int  i)
inline

Definition at line 78 of file include/CGAL/SimpleCartesian/VectorS3.h.

References CGAL_kernel_precondition, VectorS3< FT >::x(), VectorS3< FT >::y(), and VectorS3< FT >::z().

78  {
79  CGAL_kernel_precondition( i >= 0 && i <= 2 );
80  return (i==0) ? x() :
81  (i==1) ? y() : z() ;
82  }
blockLoc i
Definition: read.cpp:79
#define CGAL_kernel_precondition(EX)

Here is the call graph for this function:

const FT & cartesian ( int  i) const
inline

Definition at line 200 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References CGAL_kernel_precondition, x, y, and z.

Referenced by VectorS3< FT >::homogeneous(), and VectorS3< FT >::operator[]().

201 {
202  CGAL_kernel_precondition( (i>=0) && (i<3) );
203  return (i==0) ? x() :
204  (i==1) ? y() : z();
205 }
blockLoc i
Definition: read.cpp:79
#define CGAL_kernel_precondition(EX)

Here is the caller graph for this function:

int dimension ( ) const
inline

Definition at line 87 of file include/CGAL/SimpleCartesian/VectorS3.h.

87 { return 3; }
int dimension ( ) const
inline

Definition at line 216 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

217 { return 3; }
DirectionS3< FT > direction ( ) const
inline

Definition at line 295 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

296 { return DirectionS3<FT>(*this); }
const Direction& direction ( ) const
inline

Definition at line 123 of file include/CGAL/SimpleCartesian/VectorS3.h.

124  { return reinterpret_cast<const Direction&>(*this); }
FT homogeneous ( int  i) const
inline

Definition at line 63 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::cartesian().

63 { return (i == 3) ? FT(1) : cartesian(i); }
const FT & cartesian(int i) const
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

FT homogeneous ( int  i) const

Definition at line 244 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

245 { return (i==3) ? FT(1) : cartesian(i); }
const FT & cartesian(int i) const
blockLoc i
Definition: read.cpp:79
FT hw ( ) const
inline

Definition at line 62 of file include/CGAL/SimpleCartesian/VectorS3.h.

62 { return FT(1); }
FT hw ( ) const

Definition at line 239 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

240 { return FT(1); }
FT hx ( ) const
inline

Definition at line 59 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x.

const FT & hx ( ) const
inline
FT hy ( ) const
inline

Definition at line 60 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_y.

const FT & hy ( ) const
inline
FT hz ( ) const
inline

Definition at line 61 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_z.

const FT & hz ( ) const
inline
int id ( ) const
inline

Definition at line 57 of file include/CGAL/SimpleCartesian/VectorS3.h.

57 { return (int)this; }
bool operator!= ( const Null_vector ) const
inline
bool operator!= ( const VectorS3< FT > &  p) const
inline

Definition at line 164 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References v.

165 { 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 176 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References v.

177 { 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
FT operator* ( const VectorS3< FT > &  w) const
inline

Definition at line 268 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, VectorS3< FT >::x(), y, VectorS3< FT >::y(), z, and VectorS3< FT >::z().

269 { return x() * w.x() + y() * w.y() + z() * w.z() ; }

Here is the call graph for this function:

FT operator* ( const Self v) const
inline

Definition at line 105 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

106  { return _x * v._x + _y * v._y + _z*v._z; }
*********************************************************************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
Self& operator*= ( const FT  c)
inline
Self& operator*= ( const Self v)
inline

Definition at line 114 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

115  { _x *= v._x; _y *=v._y; _z *=v._z; return *this; }
*********************************************************************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
Self operator+ ( const Self v) const
inline

Definition at line 89 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

90  { return Self(_x + v._x, _y + v._y, _z + v._z); }
*********************************************************************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
VectorS3< FT > operator+ ( const VectorS3< FT > &  w) const
inline

Definition at line 250 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, VectorS3< FT >::x(), y, VectorS3< FT >::y(), z, and VectorS3< FT >::z().

251 { return VectorS3<FT>(x() + w.x(), y() + w.y(), z() + w.z()) ; }

Here is the call graph for this function:

Self& operator+= ( const Self v)
inline

Definition at line 96 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

96  {
97  _x += v._x; _y+=v._y; _z+=v._z;
98  return *this;
99  }
*********************************************************************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
Self operator- ( const Self v) const
inline

Definition at line 91 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

92  { return Self(_x - v._x, _y - v._y, _z - v._z); }
*********************************************************************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
Self operator- ( const Null_vector ) const
inline

Definition at line 93 of file include/CGAL/SimpleCartesian/VectorS3.h.

93 { return *this; }
VectorS3< FT > operator- ( const VectorS3< FT > &  w) const
inline

Definition at line 256 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, VectorS3< FT >::x(), y, VectorS3< FT >::y(), z, and VectorS3< FT >::z().

257 { return VectorS3<FT>(x() - w.x(), y() - w.y(), z() - w.z()) ; }

Here is the call graph for this function:

VectorS3< FT > operator- ( ) const
inline

Definition at line 262 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, y, and z.

Self& operator-= ( const Self v)
inline

Definition at line 100 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

100  {
101  _x -= v._x; _y-=v._y; _z-=v._z;
102  return *this;
103  }
*********************************************************************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
VectorS3< FT > operator/ ( const FT &  c) const
inline

Definition at line 280 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, y, and z.

281 { return VectorS3<FT>( x()/c, y()/c, z()/c) ; }
Self& operator/= ( const FT  c)
inline
Self& operator/= ( const Self v)
inline

Definition at line 116 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

117  { _x /= v._x; _y /=v._y; _z /=v._z; return *this; }
*********************************************************************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
Self& operator= ( const Self v)
inline

Definition at line 45 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

45  {
46  _x=v._x; _y=v._y; _z=v._z;
47  return *this;
48  }
*********************************************************************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 Self v) const
inline

Definition at line 50 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x, VectorS3< FT >::_y, and VectorS3< FT >::_z.

51  { return _x==v._x && _y==v._y && _z==v._z; }
*********************************************************************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 ) const
inline
bool operator== ( const VectorS3< FT > &  p) const

Definition at line 158 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, VectorS3< FT >::x(), y, VectorS3< FT >::y(), z, and VectorS3< FT >::z().

159 { return (x() == v.x()) && (y() == v.y()) && (z() == v.z()) ; }
*********************************************************************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

Here is the call graph for this function:

bool operator== ( const Null_vector ) const

Definition at line 170 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References x, y, and z.

171 { return (x() == FT(0)) && (y() == FT(0)) && (z() == FT(0)) ; }
FT& operator[] ( int  i)
inline

Definition at line 84 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::cartesian().

84 { return cartesian(i); }
const FT & cartesian(int i) const
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

const FT& operator[] ( int  i) const
inline

Definition at line 85 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::cartesian().

85 { return cartesian(i); }
const FT & cartesian(int i) const
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

const FT & operator[] ( int  i) const
inline

Definition at line 210 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

211 { return cartesian(i); }
const FT & cartesian(int i) const
blockLoc i
Definition: read.cpp:79
VectorS3< FT > transform ( const Aff_transformationS3< FT > &  t) const

Definition at line 301 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

References Aff_transformationS3< FT >::transform().

302 { return t.transform(*this); }
PointS3< FT > transform(const PointS3< FT > &p) const

Here is the call graph for this function:

Self transform ( const Aff_transformation t) const
inline

Definition at line 119 of file include/CGAL/SimpleCartesian/VectorS3.h.

References Aff_transformationS3< FT >::transform().

120  { return t.transform(*this); }

Here is the call graph for this function:

const FT& x ( ) const
inline

Definition at line 65 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x.

FT& x ( )
inline

Definition at line 68 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_x.

const FT& y ( ) const
inline

Definition at line 66 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_y.

FT& y ( )
inline

Definition at line 69 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_y.

const FT& z ( ) const
inline

Definition at line 67 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_z.

FT& z ( )
inline

Definition at line 70 of file include/CGAL/SimpleCartesian/VectorS3.h.

References VectorS3< FT >::_z.

Friends And Related Function Documentation

friend class DirectionS3< FT >
friend

Definition at line 66 of file CGAL/include/CGAL/SimpleCartesian/VectorS3.h.

Member Data Documentation


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