Back to index

salome-geom  6.5.0
Public Member Functions | Private Member Functions
GEOMImpl_IRotate Class Reference

#include <GEOMImpl_IRotate.hxx>

List of all members.

Public Member Functions

 GEOMImpl_IRotate (Handle(GEOM_Function) theFunction)
void SetCentPoint (Handle(GEOM_Function) theCentPoint)
 Handle (GEOM_Function) GetCentPoint()
void SetPoint1 (Handle(GEOM_Function) thePoint1)
 Handle (GEOM_Function) GetPoint1()
void SetPoint2 (Handle(GEOM_Function) thePoint2)
 Handle (GEOM_Function) GetPoint2()
void SetAngle (Standard_Real theAngle)
Standard_Real GetAngle ()
void SetAxis (Handle(GEOM_Function) theVector)
 Handle (GEOM_Function) GetAxis()
void SetOriginal (Handle(GEOM_Function) theOriginal)
 Handle (GEOM_Function) GetOriginal()
void SetStep (double theStep)
double GetStep ()
void SetNbIter1 (int theNbIter)
int GetNbIter1 ()
void SetNbIter2 (int theNbIter)
int GetNbIter2 ()
void SetDir2 (gp_XYZ theDir2)
gp_XYZ GetDir2 ()

Private Member Functions

 Handle (GEOM_Function) _func

Detailed Description

Definition at line 42 of file GEOMImpl_IRotate.hxx.


Constructor & Destructor Documentation

Definition at line 46 of file GEOMImpl_IRotate.hxx.

: _func(theFunction) {}

Member Function Documentation

Standard_Real GEOMImpl_IRotate::GetAngle ( ) [inline]

Definition at line 62 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReal(ROTATE_ANGLE); }

Here is the caller graph for this function:

gp_XYZ GEOMImpl_IRotate::GetDir2 ( ) [inline]

Definition at line 91 of file GEOMImpl_IRotate.hxx.

  {
    gp_XYZ aRes (0., 0., 0.);
    aRes.SetX(_func->GetReal(ROTATE_DIR2_X));
    aRes.SetY(_func->GetReal(ROTATE_DIR2_Y));
    aRes.SetZ(_func->GetReal(ROTATE_DIR2_Z));
    return aRes;
  }

Here is the caller graph for this function:

int GEOMImpl_IRotate::GetNbIter1 ( ) [inline]

Definition at line 78 of file GEOMImpl_IRotate.hxx.

{ return _func->GetInteger(ROTATE_NBITER1); } 

Here is the caller graph for this function:

int GEOMImpl_IRotate::GetNbIter2 ( ) [inline]

Definition at line 82 of file GEOMImpl_IRotate.hxx.

{ return _func->GetInteger(ROTATE_NBITER2); } 

Here is the caller graph for this function:

double GEOMImpl_IRotate::GetStep ( ) [inline]

Definition at line 74 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReal(ROTATE_STEP1); }

Here is the caller graph for this function:

Definition at line 50 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReference(ROTATE_CENTRAL_POINT); }

Definition at line 54 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReference(ROTATE_POINT1); }

Definition at line 58 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReference(ROTATE_POINT2); }

Definition at line 66 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReference(ROTATE_AXIS); } 

Definition at line 70 of file GEOMImpl_IRotate.hxx.

{ return _func->GetReference(ROTATE_ORGN); }
void GEOMImpl_IRotate::SetAngle ( Standard_Real  theAngle) [inline]

Definition at line 60 of file GEOMImpl_IRotate.hxx.

{ _func->SetReal(ROTATE_ANGLE, theAngle); }
void GEOMImpl_IRotate::SetAxis ( Handle(GEOM_Function theVector) [inline]

Definition at line 64 of file GEOMImpl_IRotate.hxx.

{ _func->SetReference(ROTATE_AXIS, theVector); }
void GEOMImpl_IRotate::SetCentPoint ( Handle(GEOM_Function theCentPoint) [inline]

Definition at line 48 of file GEOMImpl_IRotate.hxx.

{ _func->SetReference(ROTATE_CENTRAL_POINT, theCentPoint); }
void GEOMImpl_IRotate::SetDir2 ( gp_XYZ  theDir2) [inline]

Definition at line 84 of file GEOMImpl_IRotate.hxx.

  {
    _func->SetReal(ROTATE_DIR2_X, theDir2.X());
    _func->SetReal(ROTATE_DIR2_Y, theDir2.Y());
    _func->SetReal(ROTATE_DIR2_Z, theDir2.Z());
  }

Here is the caller graph for this function:

void GEOMImpl_IRotate::SetNbIter1 ( int  theNbIter) [inline]

Definition at line 76 of file GEOMImpl_IRotate.hxx.

{ _func->SetInteger(ROTATE_NBITER1, theNbIter); }
void GEOMImpl_IRotate::SetNbIter2 ( int  theNbIter) [inline]

Definition at line 80 of file GEOMImpl_IRotate.hxx.

{ _func->SetInteger(ROTATE_NBITER2, theNbIter); }
void GEOMImpl_IRotate::SetOriginal ( Handle(GEOM_Function theOriginal) [inline]

Definition at line 68 of file GEOMImpl_IRotate.hxx.

{ _func->SetReference(ROTATE_ORGN, theOriginal); }
void GEOMImpl_IRotate::SetPoint1 ( Handle(GEOM_Function thePoint1) [inline]

Definition at line 52 of file GEOMImpl_IRotate.hxx.

{ _func->SetReference(ROTATE_POINT1, thePoint1); }
void GEOMImpl_IRotate::SetPoint2 ( Handle(GEOM_Function thePoint2) [inline]

Definition at line 56 of file GEOMImpl_IRotate.hxx.

{ _func->SetReference(ROTATE_POINT2, thePoint2); }
void GEOMImpl_IRotate::SetStep ( double  theStep) [inline]

Definition at line 72 of file GEOMImpl_IRotate.hxx.

{ _func->SetReal(ROTATE_STEP1, theStep); }

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