Default tool to define range of discrete face model and obtain grid points distributed within this range. More...
#include <BRepMesh_DefaultRangeSplitter.hxx>

Public Member Functions | |
| BRepMesh_DefaultRangeSplitter () | |
| Constructor. | |
| virtual | ~BRepMesh_DefaultRangeSplitter () |
| Destructor. | |
| virtual void | Reset (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters) |
| Resets this splitter. Must be called before first use. | |
| virtual void | AddPoint (const gp_Pnt2d &thePoint) |
| Registers border point. | |
| virtual void | AdjustRange () |
| Updates discrete range of surface according to its geometric range. | |
| virtual Standard_Boolean | IsValid () |
| Returns True if computed range is valid. | |
| gp_Pnt2d | Scale (const gp_Pnt2d &thePoint, const Standard_Boolean isToFaceBasis) const |
| Scales the given point from real parametric space to face basis and otherwise. | |
| virtual Handle< IMeshData::ListOfPnt2d > | GenerateSurfaceNodes (const IMeshTools_Parameters &theParameters) const |
| Returns list of nodes generated using surface data and specified parameters. By default returns null ptr. | |
| gp_Pnt | Point (const gp_Pnt2d &thePoint2d) const |
| Returns point in 3d space corresponded to the given point defined in parametric space of surface. | |
| const IMeshData::IFaceHandle & | GetDFace () const |
| Returns face model. | |
| const Handle< BRepAdaptor_Surface > & | GetSurface () const |
| Returns surface. | |
| const std::pair< Standard_Real, Standard_Real > & | GetRangeU () const |
| Returns U range. | |
| const std::pair< Standard_Real, Standard_Real > & | GetRangeV () const |
| Returns V range. | |
| const std::pair< Standard_Real, Standard_Real > & | GetDelta () const |
| Returns delta. | |
| const std::pair< Standard_Real, Standard_Real > & | GetToleranceUV () const |
Protected Member Functions | |
| virtual void | computeTolerance (const Standard_Real theLenU, const Standard_Real theLenV) |
| Computes parametric tolerance taking length along U and V into account. | |
| virtual void | computeDelta (const Standard_Real theLengthU, const Standard_Real theLengthV) |
| Computes parametric delta taking length along U and V and value of tolerance into account. | |
Protected Attributes | |
| IMeshData::IFaceHandle | myDFace |
| std::pair< Standard_Real, Standard_Real > | myRangeU |
| std::pair< Standard_Real, Standard_Real > | myRangeV |
| std::pair< Standard_Real, Standard_Real > | myDelta |
| std::pair< Standard_Real, Standard_Real > | myTolerance |
| Standard_Boolean | myIsValid |
Default tool to define range of discrete face model and obtain grid points distributed within this range.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
virtual |
Registers border point.
Reimplemented in BRepMesh_BoundaryParamsRangeSplitter, and BRepMesh_TorusRangeSplitter.
|
virtual |
Updates discrete range of surface according to its geometric range.
Reimplemented in BRepMesh_NURBSRangeSplitter.
|
protectedvirtual |
Computes parametric delta taking length along U and V and value of tolerance into account.
Reimplemented in BRepMesh_CylinderRangeSplitter.
|
protectedvirtual |
Computes parametric tolerance taking length along U and V into account.
|
virtual |
Returns list of nodes generated using surface data and specified parameters. By default returns null ptr.
Reimplemented in BRepMesh_ConeRangeSplitter, BRepMesh_CylinderRangeSplitter, BRepMesh_NURBSRangeSplitter, BRepMesh_SphereRangeSplitter, and BRepMesh_TorusRangeSplitter.
|
inline |
Returns delta.
|
inline |
Returns face model.
|
inline |
Returns U range.
|
inline |
Returns V range.
|
inline |
Returns surface.
|
inline |
|
virtual |
Returns True if computed range is valid.
Returns point in 3d space corresponded to the given point defined in parametric space of surface.
|
virtual |
Resets this splitter. Must be called before first use.
Reimplemented in BRepMesh_CylinderRangeSplitter, and BRepMesh_UVParamRangeSplitter.
| gp_Pnt2d BRepMesh_DefaultRangeSplitter::Scale | ( | const gp_Pnt2d & | thePoint, |
| const Standard_Boolean | isToFaceBasis ) const |
Scales the given point from real parametric space to face basis and otherwise.
| thePoint | point to be scaled. |
| isToFaceBasis | if TRUE converts point to face basis, otherwise performs reverse conversion. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |