Open CASCADE Technology
7.3.0
|
#include <IntTools_SurfaceRangeLocalizeData.hxx>
Public Member Functions | |
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_SurfaceRangeLocalizeData & | Assign (const IntTools_SurfaceRangeLocalizeData &Other) |
IntTools_SurfaceRangeLocalizeData & | operator= (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. More... | |
Standard_Real | GetGridDeflection () const |
Query the grid deflection. More... | |
void | SetRangeUGrid (const Standard_Integer theNbUGrid) |
Set the range U of the grid of points. More... | |
Standard_Integer | GetRangeUGrid () const |
Query the range U of the grid of points. More... | |
void | SetUParam (const Standard_Integer theIndex, const Standard_Real theUParam) |
Set the U parameter of the grid points at that index. More... | |
Standard_Real | GetUParam (const Standard_Integer theIndex) const |
Query the U parameter of the grid points at that index. More... | |
void | SetRangeVGrid (const Standard_Integer theNbVGrid) |
Set the range V of the grid of points. More... | |
Standard_Integer | GetRangeVGrid () const |
Query the range V of the grid of points. More... | |
void | SetVParam (const Standard_Integer theIndex, const Standard_Real theVParam) |
Set the V parameter of the grid points at that index. More... | |
Standard_Real | GetVParam (const Standard_Integer theIndex) const |
Query the V parameter of the grid points at that index. More... | |
void | SetGridPoint (const Standard_Integer theUIndex, const Standard_Integer theVIndex, const gp_Pnt &thePoint) |
Set the grid point. More... | |
const gp_Pnt & | GetGridPoint (const Standard_Integer theUIndex, const Standard_Integer theVIndex) const |
Set the grid point. More... | |
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. More... | |
Standard_Integer | GetNBUPointsInFrame () const |
Returns the number of grid points on U direction in frame. More... | |
Standard_Integer | GetNBVPointsInFrame () const |
Returns the number of grid points on V direction in frame. More... | |
const gp_Pnt & | GetPointInFrame (const Standard_Integer theUIndex, const Standard_Integer theVIndex) const |
Returns the grid point in frame. More... | |
Standard_Real | GetUParamInFrame (const Standard_Integer theIndex) const |
Query the U parameter of the grid points at that index in frame. More... | |
Standard_Real | GetVParamInFrame (const Standard_Integer theIndex) const |
Query the V parameter of the grid points at that index in frame. More... | |
void | ClearGrid () |
Clears the grid of points. More... | |
IntTools_SurfaceRangeLocalizeData::IntTools_SurfaceRangeLocalizeData | ( | ) |
IntTools_SurfaceRangeLocalizeData::IntTools_SurfaceRangeLocalizeData | ( | const Standard_Integer | theNbSampleU, |
const Standard_Integer | theNbSampleV, | ||
const Standard_Real | theMinRangeU, | ||
const Standard_Real | theMinRangeV | ||
) |
IntTools_SurfaceRangeLocalizeData::IntTools_SurfaceRangeLocalizeData | ( | const IntTools_SurfaceRangeLocalizeData & | Other | ) |
void IntTools_SurfaceRangeLocalizeData::AddBox | ( | const IntTools_SurfaceRangeSample & | theRange, |
const Bnd_Box & | theBox | ||
) |
void IntTools_SurfaceRangeLocalizeData::AddOutRange | ( | const IntTools_SurfaceRangeSample & | theRange | ) |
IntTools_SurfaceRangeLocalizeData& IntTools_SurfaceRangeLocalizeData::Assign | ( | const IntTools_SurfaceRangeLocalizeData & | Other | ) |
void IntTools_SurfaceRangeLocalizeData::ClearGrid | ( | ) |
Clears the grid of points.
Standard_Boolean IntTools_SurfaceRangeLocalizeData::FindBox | ( | const IntTools_SurfaceRangeSample & | theRange, |
Bnd_Box & | theBox | ||
) | const |
Standard_Real IntTools_SurfaceRangeLocalizeData::GetGridDeflection | ( | ) | const |
Query the grid deflection.
const gp_Pnt& IntTools_SurfaceRangeLocalizeData::GetGridPoint | ( | const Standard_Integer | theUIndex, |
const Standard_Integer | theVIndex | ||
) | const |
Set the grid point.
Standard_Real IntTools_SurfaceRangeLocalizeData::GetMinRangeU | ( | ) | const |
Standard_Real IntTools_SurfaceRangeLocalizeData::GetMinRangeV | ( | ) | const |
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetNbSampleU | ( | ) | const |
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetNbSampleV | ( | ) | const |
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetNBUPointsInFrame | ( | ) | const |
Returns the number of grid points on U direction in frame.
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetNBVPointsInFrame | ( | ) | const |
Returns the number of grid points on V direction in frame.
const gp_Pnt& IntTools_SurfaceRangeLocalizeData::GetPointInFrame | ( | const Standard_Integer | theUIndex, |
const Standard_Integer | theVIndex | ||
) | const |
Returns the grid point in frame.
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetRangeUGrid | ( | ) | const |
Query the range U of the grid of points.
Standard_Integer IntTools_SurfaceRangeLocalizeData::GetRangeVGrid | ( | ) | const |
Query the range V of the grid of points.
Standard_Real IntTools_SurfaceRangeLocalizeData::GetUParam | ( | const Standard_Integer | theIndex | ) | const |
Query the U parameter of the grid points at that index.
Standard_Real IntTools_SurfaceRangeLocalizeData::GetUParamInFrame | ( | const Standard_Integer | theIndex | ) | const |
Query the U parameter of the grid points at that index in frame.
Standard_Real IntTools_SurfaceRangeLocalizeData::GetVParam | ( | const Standard_Integer | theIndex | ) | const |
Query the V parameter of the grid points at that index.
Standard_Real IntTools_SurfaceRangeLocalizeData::GetVParamInFrame | ( | const Standard_Integer | theIndex | ) | const |
Query the V parameter of the grid points at that index in frame.
Standard_Boolean IntTools_SurfaceRangeLocalizeData::IsRangeOut | ( | const IntTools_SurfaceRangeSample & | theRange | ) | const |
void IntTools_SurfaceRangeLocalizeData::ListRangeOut | ( | IntTools_ListOfSurfaceRangeSample & | theList | ) | const |
|
inline |
void IntTools_SurfaceRangeLocalizeData::RemoveRangeOutAll | ( | ) |
void IntTools_SurfaceRangeLocalizeData::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.
void IntTools_SurfaceRangeLocalizeData::SetGridDeflection | ( | const Standard_Real | theDeflection | ) |
Set the grid deflection.
void IntTools_SurfaceRangeLocalizeData::SetGridPoint | ( | const Standard_Integer | theUIndex, |
const Standard_Integer | theVIndex, | ||
const gp_Pnt & | thePoint | ||
) |
Set the grid point.
void IntTools_SurfaceRangeLocalizeData::SetRangeUGrid | ( | const Standard_Integer | theNbUGrid | ) |
Set the range U of the grid of points.
void IntTools_SurfaceRangeLocalizeData::SetRangeVGrid | ( | const Standard_Integer | theNbVGrid | ) |
Set the range V of the grid of points.
void IntTools_SurfaceRangeLocalizeData::SetUParam | ( | const Standard_Integer | theIndex, |
const Standard_Real | theUParam | ||
) |
Set the U parameter of the grid points at that index.
void IntTools_SurfaceRangeLocalizeData::SetVParam | ( | const Standard_Integer | theIndex, |
const Standard_Real | theVParam | ||
) |
Set the V parameter of the grid points at that index.