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

#include <Aff_transformationS3.h>

Inheritance diagram for Aff_transformation_repS3< FT >:
Collaboration diagram for Aff_transformation_repS3< FT >:

Public Member Functions

 Aff_transformation_repS3 ()
 
 Aff_transformation_repS3 (const FT &m11, const FT &m12, const FT &m13, const FT &m21, const FT &m22, const FT &m23, const FT &m31, const FT &m32, const FT &m33)
 
 Aff_transformation_repS3 (const FT &m11, const FT &m12, const FT &m13, const FT &m14, const FT &m21, const FT &m22, const FT &m23, const FT &m24, const FT &m31, const FT &m32, const FT &m33, const FT &m34)
 
 ~Aff_transformation_repS3 ()
 
PointS3< FT > transform (const PointS3< FT > &p) const
 
VectorS3< FT > transform (const VectorS3< FT > &v) const
 
DirectionS3< FT > transform (const DirectionS3< FT > &dir) const
 
Aff_transformationS3< FT > inverse () const
 
virtual Aff_transformationS3< FT > general_form () const
 
virtual Aff_transformationS3< FT > transpose () const
 
virtual bool is_even () const
 
virtual FT cartesian (int i, int j) const
 
std::ostream & print (std::ostream &os) const
 
- Public Member Functions inherited from Aff_transformation_rep_baseS3< FT >
virtual ~Aff_transformation_rep_baseS3 ()
 

Private Attributes

FT t11
 
FT t12
 
FT t13
 
FT t14
 
FT t21
 
FT t22
 
FT t23
 
FT t24
 
FT t31
 
FT t32
 
FT t33
 
FT t34
 

Friends

class Aff_transformationS3< FT >
 
Aff_transformationS3< FT >
_general_transformation_composition 
CGAL_NULL_TMPL_ARGS (Aff_transformation_repS3< FT > &l, Aff_transformation_repS3< FT > &r)
 
Aff_transformationS3< FT > operator*CGAL_NULL_TMPL_ARGS (const Aff_transformationS3< FT > &a, const Aff_transformationS3< FT > &b)
 

Additional Inherited Members

Detailed Description

template<class FT>
class Aff_transformation_repS3< FT >

Definition at line 66 of file Aff_transformationS3.h.

Constructor & Destructor Documentation

Definition at line 129 of file Aff_transformationS3.h.

130  {}
Aff_transformation_repS3 ( const FT &  m11,
const FT &  m12,
const FT &  m13,
const FT &  m21,
const FT &  m22,
const FT &  m23,
const FT &  m31,
const FT &  m32,
const FT &  m33 
)
inline
Aff_transformation_repS3 ( const FT &  m11,
const FT &  m12,
const FT &  m13,
const FT &  m14,
const FT &  m21,
const FT &  m22,
const FT &  m23,
const FT &  m24,
const FT &  m31,
const FT &  m32,
const FT &  m33,
const FT &  m34 
)
inline

Definition at line 153 of file Aff_transformationS3.h.

154  {}

Member Function Documentation

virtual FT cartesian ( int  i,
int  j 
) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 253 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t14, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t24, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, and Aff_transformation_repS3< FT >::t34.

254  {
255  switch (i)
256  {
257  case 0: switch (j)
258  {
259  case 0: return t11;
260  case 1: return t12;
261  case 2: return t13;
262  case 3: return t14;
263  }
264  case 1: switch (j)
265  {
266  case 0: return t21;
267  case 1: return t22;
268  case 2: return t23;
269  case 3: return t24;
270  }
271  case 2: switch (j)
272  {
273  case 0: return t31;
274  case 1: return t32;
275  case 2: return t33;
276  case 3: return t34;
277  }
278  case 3: switch (j)
279  {
280  case 0: return FT(0);
281  case 1: return FT(0);
282  case 2: return FT(0);
283  case 3: return FT(1);
284  }
285  }
286  return FT(0);
287  }
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6
virtual Aff_transformationS3<FT> general_form ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 231 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t14, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t24, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, and Aff_transformation_repS3< FT >::t34.

Aff_transformationS3<FT> inverse ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 182 of file Aff_transformationS3.h.

References det2x2_by_formula(), det3x3_by_formula(), Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t14, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t24, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, and Aff_transformation_repS3< FT >::t34.

183  {
186  t32, t33), // i 11
187 
189  t32, t33), // i 12
190 
192  t22, t23), // i 13
193 
195  t22, t23, t24, // i 14
196  t32, t33, t34 ),
197 
199  t31, t33), // i 21
200 
202  t31, t33), // i 22
203 
205  t21, t23), // i 23
206 
208  t21, t23, t24, // i 24
209  t31, t33, t34 ),
210 
212  t31, t32), // i 31
213 
215  t31, t32), // i 32
216 
218  t21, t22), // i 33
219 
221  t21, t22, t24, // i 34
222  t31, t32, t34 ),
223 
225  t21, t22, t23, // i 44
226  t31, t32, t33 )
227  ) ;
228  }
CGAL_BEGIN_NAMESPACE FT det2x2_by_formula(const FT &a00, const FT &a01, const FT &a10, const FT &a11)
Definition: determinant.h:59
CGAL_KERNEL_MEDIUM_INLINE FT det3x3_by_formula(const FT &a00, const FT &a01, const FT &a02, const FT &a10, const FT &a11, const FT &a12, const FT &a20, const FT &a21, const FT &a22)
Definition: determinant.h:71

Here is the call graph for this function:

virtual bool is_even ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 246 of file Aff_transformationS3.h.

References POSITIVE, sign_of_determinant3x3(), Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, and Aff_transformation_repS3< FT >::t33.

247  {
249  t21, t22, t23,
250  t31, t32, t33) == POSITIVE;
251  }
Sign sign_of_determinant3x3(const FT &a00, const FT &a01, const FT &a02, const FT &a10, const FT &a11, const FT &a12, const FT &a20, const FT &a21, const FT &a22)
Definition: enum.h:61

Here is the call graph for this function:

std::ostream& print ( std::ostream &  os) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 290 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t14, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t24, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, and Aff_transformation_repS3< FT >::t34.

PointS3<FT> transform ( const PointS3< FT > &  p) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 156 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t14, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t24, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, Aff_transformation_repS3< FT >::t34, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

Here is the call graph for this function:

VectorS3<FT> transform ( const VectorS3< FT > &  v) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 165 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, VectorS3< FT >::x(), VectorS3< FT >::y(), and VectorS3< FT >::z().

Here is the call graph for this function:

DirectionS3<FT> transform ( const DirectionS3< FT > &  dir) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 174 of file Aff_transformationS3.h.

References Aff_transformation_repS3< FT >::t11, Aff_transformation_repS3< FT >::t12, Aff_transformation_repS3< FT >::t13, Aff_transformation_repS3< FT >::t21, Aff_transformation_repS3< FT >::t22, Aff_transformation_repS3< FT >::t23, Aff_transformation_repS3< FT >::t31, Aff_transformation_repS3< FT >::t32, Aff_transformation_repS3< FT >::t33, v, DirectionS3< FT >::vector(), VectorS3< FT >::x(), VectorS3< FT >::y(), and VectorS3< FT >::z().

175  {
176  VectorS3<FT> v = dir.vector();
177  return DirectionS3<FT>(t11 * v.x() + t12 * v.y() + t13 * v.z(),
178  t21 * v.x() + t22 * v.y() + t23 * v.z(),
179  t31 * v.x() + t32 * v.y() + t33 * v.z());
180  }
*********************************************************************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 > vector() const
Definition: DirectionS3.h:71

Here is the call graph for this function:

Friends And Related Function Documentation

friend class Aff_transformationS3< FT >
friend

Definition at line 117 of file Aff_transformationS3.h.

Aff_transformationS3<FT> operator*CGAL_NULL_TMPL_ARGS ( const Aff_transformationS3< FT > &  a,
const Aff_transformationS3< FT > &  b 
)
friend

Member Data Documentation


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