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

#include <Aff_transformationS3.h>

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

Public Member Functions

 Scaling_repS3 ()
 
 Scaling_repS3 (const FT &s)
 
 ~Scaling_repS3 ()
 
PointS3< FT > transform (const PointS3< FT > &p) const
 
VectorS3< FT > transform (const VectorS3< FT > &v) const
 
DirectionS3< FT > transform (const DirectionS3< FT > &d) const
 
Aff_transformationS3< FT > inverse () const
 
Aff_transformationS3< FT > general_form () const
 
Aff_transformationS3< FT > transpose () const
 
virtual bool is_even () const
 
virtual FT cartesian (int i, int j) const
 
virtual 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 scalefactor
 

Friends

std::ostream & operator<< CGAL_NULL_TMPL_ARGS (std::ostream &os, Scaling_repS3< FT > &t)
 
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 Scaling_repS3< FT >

Definition at line 68 of file Aff_transformationS3.h.

Constructor & Destructor Documentation

Scaling_repS3 ( )
inline

Definition at line 406 of file Aff_transformationS3.h.

407  {}
Scaling_repS3 ( const FT &  s)
inline

Definition at line 409 of file Aff_transformationS3.h.

409  :
410  scalefactor(s)
411  {}
double s
Definition: blastest.C:80
~Scaling_repS3 ( )
inline

Definition at line 413 of file Aff_transformationS3.h.

414  {}

Member Function Documentation

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

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 457 of file Aff_transformationS3.h.

References Scaling_repS3< FT >::scalefactor.

458  {
459  if (i!=j) return FT(0);
460  if (i==3) return FT(1);
461  return scalefactor;
462  }
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6
Aff_transformationS3<FT> general_form ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 438 of file Aff_transformationS3.h.

References Scaling_repS3< FT >::scalefactor.

Referenced by Scaling_repS3< FT >::transpose().

439  {
440  FT ft0(0);
441 
442  return Aff_transformationS3<FT>(scalefactor, ft0, ft0,
443  ft0, scalefactor, ft0,
444  ft0, ft0, scalefactor);
445  }

Here is the caller graph for this function:

Aff_transformationS3<FT> inverse ( ) const
inlinevirtual
virtual bool is_even ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 452 of file Aff_transformationS3.h.

453  {
454  return true;
455  }
virtual std::ostream& print ( std::ostream &  os) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 465 of file Aff_transformationS3.h.

References Scaling_repS3< FT >::scalefactor.

466  {
467  FT ft0(0);
468  os << " "<< scalefactor <<' '<< ft0 <<' '<< ft0 << ' '
469  << ft0 << "\n";
470  os << " "<< ft0 <<' '<< scalefactor <<' '<< ft0 << ' '
471  << ft0 << "\n";
472  os << " "<< ft0 <<' '<< ft0 <<' '<< scalefactor <<' '
473  << ft0 << ")\n";
474 
475  return os;
476  }
PointS3<FT> transform ( const PointS3< FT > &  p) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 416 of file Aff_transformationS3.h.

References Scaling_repS3< FT >::scalefactor, 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 422 of file Aff_transformationS3.h.

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

Here is the call graph for this function:

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

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 428 of file Aff_transformationS3.h.

References d.

429  {
430  return d;
431  }
const NT & d
Aff_transformationS3<FT> transpose ( ) const
inlinevirtual

Implements Aff_transformation_rep_baseS3< FT >.

Definition at line 447 of file Aff_transformationS3.h.

References Scaling_repS3< FT >::general_form().

448  {
449  return general_form();
450  }
Aff_transformationS3< FT > general_form() const

Here is the call graph for this function:

Friends And Related Function Documentation

Aff_transformationS3<FT> operator*CGAL_NULL_TMPL_ARGS ( const Aff_transformationS3< FT > &  a,
const Aff_transformationS3< FT > &  b 
)
friend
std::ostream& operator<< CGAL_NULL_TMPL_ARGS ( std::ostream &  os,
Scaling_repS3< FT > &  t 
)
friend

Member Data Documentation


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