Version: 6.3.1
Public Member Functions | Private Types | Private Attributes

SMESH.Controls.TSequenceOfXYZ Class Reference

#include <SMESH_ControlsDef.hxx>

Public Member Functions

 TSequenceOfXYZ ()
 TSequenceOfXYZ (size_type n)
 TSequenceOfXYZ (size_type n, const gp_XYZ &t)
 TSequenceOfXYZ (const TSequenceOfXYZ &theSequenceOfXYZ)
template<class InputIterator >
 TSequenceOfXYZ (InputIterator theBegin, InputIterator theEnd)
 ~TSequenceOfXYZ ()
TSequenceOfXYZoperator= (const TSequenceOfXYZ &theSequenceOfXYZ)
gp_XYZ & operator() (size_type n)
const gp_XYZ & operator() (size_type n) const
void clear ()
void reserve (size_type n)
void push_back (const gp_XYZ &v)
size_type size () const

Private Types

typedef std::vector< gp_XYZ >
::size_type 
size_type

Private Attributes

std::vector< gp_XYZ > myArray

Detailed Description

Definition at line 72 of file SMESH_ControlsDef.hxx.


Member Typedef Documentation

typedef std::vector<gp_XYZ>::size_type SMESH.Controls.TSequenceOfXYZ.size_type [private]

Definition at line 74 of file SMESH_ControlsDef.hxx.


Constructor & Destructor Documentation

TSequenceOfXYZ::TSequenceOfXYZ ( )

Definition at line 3827 of file SMESH_Controls.cxx.

{}
TSequenceOfXYZ::TSequenceOfXYZ ( size_type  n)

Definition at line 3830 of file SMESH_Controls.cxx.

                                          : myArray(n)
{}
TSequenceOfXYZ::TSequenceOfXYZ ( size_type  n,
const gp_XYZ &  t 
)

Definition at line 3833 of file SMESH_Controls.cxx.

                                                           : myArray(n,t)
{}
TSequenceOfXYZ::TSequenceOfXYZ ( const TSequenceOfXYZ theSequenceOfXYZ)

Definition at line 3836 of file SMESH_Controls.cxx.

                                                                     : myArray(theSequenceOfXYZ.myArray)
{}
template<class InputIterator >
TSequenceOfXYZ::TSequenceOfXYZ ( InputIterator  theBegin,
InputIterator  theEnd 
)

Definition at line 3840 of file SMESH_Controls.cxx.

                                                                          : myArray(theBegin,theEnd)
{}
TSequenceOfXYZ::~TSequenceOfXYZ ( )

Definition at line 3843 of file SMESH_Controls.cxx.

{}

Member Function Documentation

void TSequenceOfXYZ::clear ( )

Definition at line 3862 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

Referenced by SMESH.Controls.NumericalFunctor.GetPoints().

{
  myArray.clear();
}
gp_XYZ & TSequenceOfXYZ::operator() ( size_type  n)

Definition at line 3852 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

{
  return myArray[n-1];
}
const gp_XYZ & TSequenceOfXYZ::operator() ( size_type  n) const

Definition at line 3857 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

{
  return myArray[n-1];
}
TSequenceOfXYZ & TSequenceOfXYZ::operator= ( const TSequenceOfXYZ theSequenceOfXYZ)

Definition at line 3846 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

{
  myArray = theSequenceOfXYZ.myArray;
  return *this;
}
void TSequenceOfXYZ::push_back ( const gp_XYZ &  v)

Definition at line 3872 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

Referenced by centroidalSmooth(), and SMESH.Controls.NumericalFunctor.GetPoints().

{
  myArray.push_back(v);
}
void TSequenceOfXYZ::reserve ( size_type  n)

Definition at line 3867 of file SMESH_Controls.cxx.

References SMESH.Controls.TSequenceOfXYZ.myArray.

Referenced by SMESH.Controls.NumericalFunctor.GetPoints().

{
  myArray.reserve(n);
}
TSequenceOfXYZ::size_type TSequenceOfXYZ::size ( ) const

Field Documentation

std::vector<gp_XYZ> SMESH.Controls.TSequenceOfXYZ.myArray [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS