Open CASCADE Technology
7.7.0
|
Auxiliary class extending default range splitter in order to generate internal nodes for conical surface. More...
#include <BRepMesh_ConeRangeSplitter.hxx>
Public Member Functions | |
BRepMesh_ConeRangeSplitter () | |
Constructor. More... | |
virtual | ~BRepMesh_ConeRangeSplitter () |
Destructor. More... | |
std::pair< Standard_Real, Standard_Real > | GetSplitSteps (const IMeshTools_Parameters &theParameters, std::pair< Standard_Integer, Standard_Integer > &theStepsNb) const |
Returns split intervals along U and V direction. More... | |
virtual Handle< IMeshData::ListOfPnt2d > | GenerateSurfaceNodes (const IMeshTools_Parameters &theParameters) const override |
Returns list of nodes generated using surface data and specified parameters. More... | |
Public Member Functions inherited from BRepMesh_DefaultRangeSplitter | |
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... | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from BRepMesh_DefaultRangeSplitter | |
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 inherited from BRepMesh_DefaultRangeSplitter | |
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 |
Auxiliary class extending default range splitter in order to generate internal nodes for conical surface.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
overridevirtual |
Returns list of nodes generated using surface data and specified parameters.
Reimplemented from BRepMesh_DefaultRangeSplitter.
std::pair<Standard_Real, Standard_Real> BRepMesh_ConeRangeSplitter::GetSplitSteps | ( | const IMeshTools_Parameters & | theParameters, |
std::pair< Standard_Integer, Standard_Integer > & | theStepsNb | ||
) | const |
Returns split intervals along U and V direction.
theParameters | meshing parameters. | |
[out] | theStepsNb | number of steps along corresponding direction. |