Geant4  v4-10.4-release
HepGeom::Rotate3D 클래스 참조

#include <Transform3D.h>

HepGeom::Rotate3D에 대한 상속 다이어그램 :

## Public 멤버 함수

Rotate3D ()

Rotate3D (const CLHEP::HepRotation &m)

Rotate3D (double a, const Point3D< double > &p1, const Point3D< double > &p2)

Rotate3D (double a, const Vector3D< double > &v)

Rotate3D (const Point3D< double > &fr1, const Point3D< double > &fr2, const Point3D< double > &to1, const Point3D< double > &to2)

const Transform3D_row operator[] (int) const

double operator() (int, int) const

double xx () const

double xy () const

double xz () const

double yx () const

double yy () const

double yz () const

double zx () const

double zy () const

double zz () const

double dx () const

double dy () const

double dz () const

void setIdentity ()

Transform3D inverse () const

Transform3D operator* (const Transform3D &b) const

void getDecomposition (Scale3D &scale, Rotate3D &rotation, Translate3D &translation) const

bool isNear (const Transform3D &t, double tolerance=2.2E-14) const

CLHEP::HepRotation getRotation () const

CLHEP::Hep3Vector getTranslation () const

bool operator== (const Transform3D &transform) const

bool operator!= (const Transform3D &transform) const

## 정적 Public 속성

static DLL_API const Transform3D Identity = Transform3D ()

## Protected 멤버 함수

void setTransform (double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ)

double xx_

double xy_

double xz_

double dx_

double yx_

double yy_

double yz_

double dy_

double zx_

double zy_

double zz_

double dz_

## 상세한 설명

Constructs a rotation transformation. This class provides additional constructors for Transform3D and should not be used as a separate class.

Example of use:

* m = Rotate3D(30.*deg, HepVector3D(1.,1.,1.));
*

Transform3D.h 파일의 374 번째 라인에서 정의되었습니다.

## 생성자 & 소멸자 문서화

 HepGeom::Rotate3D::Rotate3D ( )
inline

Default constructor: sets the Identity transformation.

Transform3D.h 파일의 378 번째 라인에서 정의되었습니다.

 HepGeom::Rotate3D::Rotate3D ( const CLHEP::HepRotation & m )
inline

Constructor from CLHEP::HepRotation.

 HepGeom::Rotate3D::Rotate3D ( double a, const Point3D< double > & p1, const Point3D< double > & p2 )

Constructor from angle and axis given by two points.

매개변수
 a angle of rotation p1 begin point of the axis p2 end point of the axis

Transform3D.cc 파일의 231 번째 라인에서 정의되었습니다.

 HepGeom::Rotate3D::Rotate3D ( double a, const Vector3D< double > & v )
inline

Constructor from angle and axis.

매개변수
 a angle of rotation v axis of rotation
 HepGeom::Rotate3D::Rotate3D ( const Point3D< double > & fr1, const Point3D< double > & fr2, const Point3D< double > & to1, const Point3D< double > & to2 )
inline

Constructor for rotation given by original and rotated position of two points. It is assumed that there is no reflection.

매개변수
 fr1 original position of 1st point fr2 original position of 2nd point to1 rotated position of 1st point to2 rotated position of 2nd point

## 멤버 함수 문서화

 double HepGeom::Transform3D::dx ( ) const
inlineinherited

Gets dx-element of the transformation matrix.

Transform3D.h 파일의 279 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::dx_.

 double HepGeom::Transform3D::dy ( ) const
inlineinherited

Gets dy-element of the transformation matrix.

Transform3D.h 파일의 282 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::dy_.

 double HepGeom::Transform3D::dz ( ) const
inlineinherited

Gets dz-element of the transformation matrix.

Transform3D.h 파일의 285 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::dz_.

 void HepGeom::Transform3D::getDecomposition ( Scale3D & scale, Rotate3D & rotation, Translate3D & translation ) const
inherited

Decomposition of general transformation. This function gets decomposition of the transformation in three consequentive specific transformations: Scale3D, then Rotate3D, then Translate3, i.e.

* Transform3D = Translate3D * Rotate3D * Scale3D
*
매개변수
 scale output: scaling transformation; if there was a reflection, then scale factor for z-component (scale(2,2)) will be negative. rotation output: rotation transformaion. translation output: translation transformaion.

Transform3D.cc 파일의 174 번째 라인에서 정의되었습니다.

다음을 참조함 : scale.

 CLHEP::HepRotation HepGeom::Transform3D::getRotation ( ) const
inlineinherited
 CLHEP::Hep3Vector HepGeom::Transform3D::getTranslation ( ) const
inlineinherited
 Transform3D HepGeom::Transform3D::inverse ( ) const
inherited
 bool HepGeom::Transform3D::isNear ( const Transform3D & t, double tolerance = 2.2E-14 ) const
inherited

Returns true if the difference between corresponding matrix elements is less than the tolerance.

Transform3D.cc 파일의 204 번째 라인에서 정의되었습니다.

 bool HepGeom::Transform3D::operator!= ( const Transform3D & transform ) const
inlineinherited

Test for inequality.

Transform3D.h 파일의 353 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::operator==().

 double HepGeom::Transform3D::operator() ( int i, int j ) const
inherited

Fortran-style subscripting: returns (i,j) element of the matrix.

Transform3D.cc 파일의 24 번째 라인에서 정의되었습니다.

 Transform3D HepGeom::Transform3D::operator* ( const Transform3D & b ) const
inherited
 bool HepGeom::Transform3D::operator== ( const Transform3D & transform ) const
inherited

Test for equality.

Transform3D.cc 파일의 221 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : HepGeom::Transform3D::operator!=().

 const Transform3D_row HepGeom::Transform3D::operator[] ( int ) const
inlineinherited

Returns object of the helper class for C-style subscripting r[i][j]

 void HepGeom::Transform3D::setIdentity ( )
inlineinherited

Sets the Identity transformation.

Transform3D.h 파일의 298 번째 라인에서 정의되었습니다.

 void HepGeom::Transform3D::setTransform ( double XX, double XY, double XZ, double DX, double YX, double YY, double YZ, double DY, double ZX, double ZY, double ZZ, double DZ )
inlineprotectedinherited
 double HepGeom::Transform3D::xx ( ) const
inlineinherited
 double HepGeom::Transform3D::xy ( ) const
inlineinherited

Gets xy-element of the transformation matrix.

Transform3D.h 파일의 255 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::xy_.

 double HepGeom::Transform3D::xz ( ) const
inlineinherited

Gets xz-element of the transformation matrix.

Transform3D.h 파일의 258 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::xz_.

 double HepGeom::Transform3D::yx ( ) const
inlineinherited

Gets yx-element of the transformation matrix.

Transform3D.h 파일의 261 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::yx_.

 double HepGeom::Transform3D::yy ( ) const
inlineinherited
 double HepGeom::Transform3D::yz ( ) const
inlineinherited

Gets yz-element of the transformation matrix.

Transform3D.h 파일의 267 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::yz_.

 double HepGeom::Transform3D::zx ( ) const
inlineinherited

Gets zx-element of the transformation matrix.

Transform3D.h 파일의 270 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::zx_.

 double HepGeom::Transform3D::zy ( ) const
inlineinherited

Gets zy-element of the transformation matrix.

Transform3D.h 파일의 273 번째 라인에서 정의되었습니다.

다음을 참조함 : HepGeom::Transform3D::zy_.

 double HepGeom::Transform3D::zz ( ) const
inlineinherited

## 멤버 데이타 문서화

 double HepGeom::Transform3D::dx_
protectedinherited
 double HepGeom::Transform3D::dy_
protectedinherited
 double HepGeom::Transform3D::dz_
protectedinherited
 const Transform3D HepGeom::Transform3D::Identity = Transform3D ()
staticinherited

Global identity transformation.

Transform3D.h 파일의 197 번째 라인에서 정의되었습니다.

 double HepGeom::Transform3D::xx_
protectedinherited
 double HepGeom::Transform3D::xy_
protectedinherited
 double HepGeom::Transform3D::xz_
protectedinherited
 double HepGeom::Transform3D::yx_
protectedinherited
 double HepGeom::Transform3D::yy_
protectedinherited
 double HepGeom::Transform3D::yz_
protectedinherited
 double HepGeom::Transform3D::zx_
protectedinherited
 double HepGeom::Transform3D::zy_
protectedinherited
 double HepGeom::Transform3D::zz_
protectedinherited

이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: