Open CASCADE Technology
7.6.0
|
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. More... | |
virtual | ~BRepMesh_DefaultRangeSplitter () |
Destructor. More... | |
virtual void | Reset (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters) |
Resets this splitter. Must be called before first use. More... | |
virtual void | AddPoint (const gp_Pnt2d &thePoint) |
Registers border point. More... | |
virtual void | AdjustRange () |
Updates discrete range of surface according to its geometric range. More... | |
virtual Standard_Boolean | IsValid () |
Returns True if computed range is valid. More... | |
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. More... | |
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. More... | |
gp_Pnt | Point (const gp_Pnt2d &thePoint2d) const |
Returns point in 3d space corresponded to the given point defined in parameteric space of surface. More... | |
const IMeshData::IFaceHandle & | GetDFace () const |
Returns face model. More... | |
const Handle< BRepAdaptor_Surface > & | GetSurface () const |
Returns surface. More... | |
const std::pair< Standard_Real, Standard_Real > & | GetRangeU () const |
Returns U range. More... | |
const std::pair< Standard_Real, Standard_Real > & | GetRangeV () const |
Returns V range. More... | |
const std::pair< Standard_Real, Standard_Real > & | GetDelta () const |
Returns delta. More... | |
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. More... | |
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. More... | |
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_TorusRangeSplitter, and BRepMesh_BoundaryParamsRangeSplitter.
|
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_TorusRangeSplitter, BRepMesh_SphereRangeSplitter, BRepMesh_NURBSRangeSplitter, BRepMesh_CylinderRangeSplitter, and BRepMesh_ConeRangeSplitter.
|
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 parameteric space of surface.
|
virtual |
Resets this splitter. Must be called before first use.
Reimplemented in BRepMesh_UVParamRangeSplitter, and BRepMesh_CylinderRangeSplitter.
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 |