Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntTools_SurfaceRangeLocalizeData Class Reference

#include <IntTools_SurfaceRangeLocalizeData.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC IntTools_SurfaceRangeLocalizeData ()
 IntTools_SurfaceRangeLocalizeData (const Standard_Integer theNbSampleU, const Standard_Integer theNbSampleV, const Standard_Real theMinRangeU, const Standard_Real theMinRangeV)
 IntTools_SurfaceRangeLocalizeData (const IntTools_SurfaceRangeLocalizeData &Other)
IntTools_SurfaceRangeLocalizeDataAssign (const IntTools_SurfaceRangeLocalizeData &Other)
IntTools_SurfaceRangeLocalizeDataoperator= (const IntTools_SurfaceRangeLocalizeData &Other)
Standard_Integer GetNbSampleU () const
Standard_Integer GetNbSampleV () const
Standard_Real GetMinRangeU () const
Standard_Real GetMinRangeV () const
void AddOutRange (const IntTools_SurfaceRangeSample &theRange)
void AddBox (const IntTools_SurfaceRangeSample &theRange, const Bnd_Box &theBox)
Standard_Boolean FindBox (const IntTools_SurfaceRangeSample &theRange, Bnd_Box &theBox) const
Standard_Boolean IsRangeOut (const IntTools_SurfaceRangeSample &theRange) const
void ListRangeOut (IntTools_ListOfSurfaceRangeSample &theList) const
void RemoveRangeOutAll ()
void SetGridDeflection (const Standard_Real theDeflection)
 Set the grid deflection.

Standard_Real GetGridDeflection () const
 Query the grid deflection.

void SetRangeUGrid (const Standard_Integer theNbUGrid)
 Set the range U of the grid of points.

Standard_Integer GetRangeUGrid () const
 Query the range U of the grid of points.

void SetUParam (const Standard_Integer theIndex, const Standard_Real theUParam)
 Set the U parameter of the grid points at that index.

Standard_Real GetUParam (const Standard_Integer theIndex) const
 Query the U parameter of the grid points at that index.

void SetRangeVGrid (const Standard_Integer theNbVGrid)
 Set the range V of the grid of points.

Standard_Integer GetRangeVGrid () const
 Query the range V of the grid of points.

void SetVParam (const Standard_Integer theIndex, const Standard_Real theVParam)
 Set the V parameter of the grid points at that index.

Standard_Real GetVParam (const Standard_Integer theIndex) const
 Query the V parameter of the grid points at that index.

void SetGridPoint (const Standard_Integer theUIndex, const Standard_Integer theVIndex, const gp_Pnt &thePoint)
 Set the grid point.

const gp_PntGetGridPoint (const Standard_Integer theUIndex, const Standard_Integer theVIndex) const
 Set the grid point.

void SetFrame (const Standard_Real theUMin, const Standard_Real theUMax, const Standard_Real theVMin, const Standard_Real theVMax)
 Sets the frame area. Used to work with grid points.

Standard_Integer GetNBUPointsInFrame () const
 Returns the number of grid points on U direction in frame.

Standard_Integer GetNBVPointsInFrame () const
 Returns the number of grid points on V direction in frame.

const gp_PntGetPointInFrame (const Standard_Integer theUIndex, const Standard_Integer theVIndex) const
 Returns the grid point in frame.

Standard_Real GetUParamInFrame (const Standard_Integer theIndex) const
 Query the U parameter of the grid points
at that index in frame.

Standard_Real GetVParamInFrame (const Standard_Integer theIndex) const
 Query the V parameter of the grid points
at that index in frame.

void ClearGrid ()
 Clears the grid of points.


Constructor & Destructor Documentation


Member Function Documentation

IntTools_SurfaceRangeLocalizeData& IntTools_SurfaceRangeLocalizeData::operator= ( const IntTools_SurfaceRangeLocalizeData Other) [inline]

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