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

#include <Aff_transformationS3.h>

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

Public Member Functions

 Aff_transformationS3 ()
 
 Aff_transformationS3 (const Identity_transformation &)
 
 Aff_transformationS3 (const Translation, const VectorS3< FT > &v)
 
 Aff_transformationS3 (const Scaling, const FT &s, const FT &w=FT(1))
 
 Aff_transformationS3 (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, const FT &w=FT(1))
 
 Aff_transformationS3 (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, const FT &w=FT(1))
 
 ~Aff_transformationS3 ()
 
PointS3< FT > transform (const PointS3< FT > &p) const
 
PointS3< FT > operator() (const PointS3< FT > &p) const
 
VectorS3< FT > transform (const VectorS3< FT > &v) const
 
VectorS3< FT > operator() (const VectorS3< FT > &v) const
 
DirectionS3< FT > transform (const DirectionS3< FT > &d) const
 
DirectionS3< FT > operator() (const DirectionS3< FT > &d) const
 
PlaneS3< FT > transform (const PlaneS3< FT > &p) const
 
PlaneS3< FT > operator() (const PlaneS3< FT > &p) const
 
Aff_transformationS3< FT > inverse () const
 
Aff_transformationS3< FT > transpose () const
 
Aff_transformationS3< FT > general_form () const
 
bool is_even () const
 
bool is_odd () const
 
FT cartesian (int i, int j) const
 
FT homogeneous (int i, int j) const
 
FT m (int i, int j) const
 
FT hm (int i, int j) const
 

Private Member Functions

Aff_transformation_rep_baseS3
< FT > * 
ptr () const
 

Friends

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

Detailed Description

template<class FT>
class Aff_transformationS3< FT >

Definition at line 65 of file Aff_transformationS3.h.

Constructor & Destructor Documentation

Definition at line 569 of file Aff_transformationS3.h.

570 {
571  FT ft1(1), ft0(0);
572  PTR = new Aff_transformation_repS3<FT>(ft1, ft0, ft0,
573  ft0, ft1, ft0,
574  ft0, ft0, ft1);
575 }

Definition at line 578 of file Aff_transformationS3.h.

579 {
580  FT ft1(1), ft0(0);
581  PTR = new Aff_transformation_repS3<FT>(ft1, ft0, ft0,
582  ft0, ft1, ft0,
583  ft0, ft0, ft1);
584 }
Aff_transformationS3 ( const Translation  ,
const VectorS3< FT > &  v 
)

Definition at line 587 of file Aff_transformationS3.h.

References v.

589 {
590  PTR = new Translation_repS3<FT>(v);
591 }
*********************************************************************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
Aff_transformationS3 ( const Scaling  ,
const FT &  s,
const FT &  w = FT(1) 
)

Definition at line 594 of file Aff_transformationS3.h.

References s.

597 {
598  if (w != FT(1))
599  PTR = new Scaling_repS3<FT>(s/w);
600  else
601  PTR = new Scaling_repS3<FT>(s);
602 }
double s
Definition: blastest.C:80
Aff_transformationS3 ( 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,
const FT &  w = FT(1) 
)

Definition at line 625 of file Aff_transformationS3.h.

630 {
631  if (w != FT(1))
632  PTR = new Aff_transformation_repS3<FT>(m11/w, m12/w, m13/w,
633  m21/w, m22/w, m23/w,
634  m31/w, m32/w, m33/w);
635  else
636  PTR = new Aff_transformation_repS3<FT>(m11, m12, m13,
637  m21, m22, m23,
638  m31, m32, m33);
639 }
Aff_transformationS3 ( 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,
const FT &  w = FT(1) 
)

Definition at line 606 of file Aff_transformationS3.h.

613 {
614  if (w != FT(1))
615  PTR = new Aff_transformation_repS3<FT>(m11/w, m12/w, m13/w, m14/w,
616  m21/w, m22/w, m23/w, m24/w,
617  m31/w, m32/w, m33/w, m34/w);
618  else
619  PTR = new Aff_transformation_repS3<FT>(m11, m12, m13, m14,
620  m21, m22, m23, m24,
621  m31, m32, m33, m34);
622 }

Definition at line 642 of file Aff_transformationS3.h.

643 {}

Member Function Documentation

FT cartesian ( int  i,
int  j 
) const
inline

Definition at line 556 of file Aff_transformationS3.h.

References Aff_transformationS3< FT >::ptr().

Referenced by Aff_transformationS3< FT >::hm(), Aff_transformationS3< FT >::homogeneous(), and Aff_transformationS3< FT >::m().

556 { return ptr()->cartesian(i,j); }
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6
Aff_transformation_rep_baseS3< FT > * ptr() const

Here is the call graph for this function:

Here is the caller graph for this function:

Aff_transformationS3< FT > general_form ( ) const

Definition at line 715 of file Aff_transformationS3.h.

Referenced by operator*().

716 {
717  return ptr()->general_form();
718 }
Aff_transformation_rep_baseS3< FT > * ptr() const

Here is the caller graph for this function:

FT hm ( int  i,
int  j 
) const
inline

Definition at line 559 of file Aff_transformationS3.h.

References Aff_transformationS3< FT >::cartesian().

559 { return cartesian(i,j); }
FT cartesian(int i, int j) const
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6

Here is the call graph for this function:

FT homogeneous ( int  i,
int  j 
) const
inline

Definition at line 557 of file Aff_transformationS3.h.

References Aff_transformationS3< FT >::cartesian().

557 { return cartesian(i,j); }
FT cartesian(int i, int j) const
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6

Here is the call graph for this function:

Aff_transformationS3< FT > inverse ( ) const

Definition at line 708 of file Aff_transformationS3.h.

709 {
710  return ptr()->inverse();
711 }
Aff_transformation_rep_baseS3< FT > * ptr() const
bool is_even ( ) const

Definition at line 727 of file Aff_transformationS3.h.

Referenced by PlaneS3< FT >::transform().

728 {
729  return ptr()->is_even();
730 }
Aff_transformation_rep_baseS3< FT > * ptr() const

Here is the caller graph for this function:

bool is_odd ( ) const

Definition at line 733 of file Aff_transformationS3.h.

734 {
735  return ! (ptr()->is_even());
736 }
Aff_transformation_rep_baseS3< FT > * ptr() const
FT m ( int  i,
int  j 
) const
inline

Definition at line 558 of file Aff_transformationS3.h.

References Aff_transformationS3< FT >::cartesian().

558 { return cartesian(i,j); }
FT cartesian(int i, int j) const
blockLoc i
Definition: read.cpp:79
j indices j
Definition: Indexing.h:6

Here is the call graph for this function:

PointS3< FT > operator() ( const PointS3< FT > &  p) const
inline

Definition at line 652 of file Aff_transformationS3.h.

653 {
654  return transform(p);
655 }
PointS3< FT > transform(const PointS3< FT > &p) const
VectorS3< FT > operator() ( const VectorS3< FT > &  v) const
inline

Definition at line 668 of file Aff_transformationS3.h.

669 {
670  return transform(v);
671 }
PointS3< FT > transform(const PointS3< FT > &p) const
DirectionS3< FT > operator() ( const DirectionS3< FT > &  d) const
inline

Definition at line 684 of file Aff_transformationS3.h.

685 {
686  return transform(d);
687 }
PointS3< FT > transform(const PointS3< FT > &p) const
PlaneS3< FT > operator() ( const PlaneS3< FT > &  p) const
inline

Definition at line 701 of file Aff_transformationS3.h.

702 {
703  return transform(p);
704 }
PointS3< FT > transform(const PointS3< FT > &p) const
Aff_transformation_rep_baseS3<FT>* ptr ( ) const
inlineprivate

Definition at line 562 of file Aff_transformationS3.h.

Referenced by Aff_transformationS3< FT >::cartesian().

Here is the caller graph for this function:

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

Definition at line 645 of file Aff_transformationS3.h.

Referenced by DirectionS3< FT >::transform(), RayS3< FT >::transform(), LineS3< FT >::transform(), SegmentS3< FT >::transform(), VectorS3< FT >::transform(), PlaneS3< FT >::transform(), and PointS3< FT >::transform().

646 {
647  return ptr()->transform(p);
648 }
Aff_transformation_rep_baseS3< FT > * ptr() const

Here is the caller graph for this function:

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

Definition at line 660 of file Aff_transformationS3.h.

661 {
662  return ptr()->transform(v);
663 }
Aff_transformation_rep_baseS3< FT > * ptr() const
DirectionS3< FT > transform ( const DirectionS3< FT > &  d) const
inline

Definition at line 676 of file Aff_transformationS3.h.

677 {
678  return ptr()->transform(d);
679 }
Aff_transformation_rep_baseS3< FT > * ptr() const
PlaneS3< FT > transform ( const PlaneS3< FT > &  p) const
inline

Definition at line 693 of file Aff_transformationS3.h.

References PlaneS3< FT >::transform().

694 {
695  return p.transform(*this);
696 }
PlaneS3 transform(const Aff_transformationS3< FT > &t) const
Definition: PlaneS3.h:361

Here is the call graph for this function:

Aff_transformationS3< FT > transpose ( ) const

Definition at line 721 of file Aff_transformationS3.h.

Referenced by PlaneS3< FT >::transform().

722 {
723  return ptr()->transpose();
724 }
Aff_transformation_rep_baseS3< FT > * ptr() const

Here is the caller 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,
const Aff_transformationS3< FT > &  t 
)
friend

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