Open CASCADE Technology 7.8.0
Public Member Functions | Protected Member Functions
BRepMesh_NURBSRangeSplitter Class Reference

Auxiliary class extending UV range splitter in order to generate internal nodes for NURBS surface. More...

#include <BRepMesh_NURBSRangeSplitter.hxx>

Inheritance diagram for BRepMesh_NURBSRangeSplitter:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_NURBSRangeSplitter ()
 Constructor.
 
virtual ~BRepMesh_NURBSRangeSplitter ()
 Destructor.
 
virtual void AdjustRange () override
 Updates discrete range of surface according to its geometric range.
 
virtual Handle< IMeshData::ListOfPnt2dGenerateSurfaceNodes (const IMeshTools_Parameters &theParameters) const override
 Returns list of nodes generated using surface data and specified parameters.
 
- Public Member Functions inherited from BRepMesh_UVParamRangeSplitter
 BRepMesh_UVParamRangeSplitter ()
 Constructor.
 
virtual ~BRepMesh_UVParamRangeSplitter ()
 Destructor.
 
virtual void Reset (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters) override
 Resets this splitter.
 
const IMeshData::IMapOfRealGetParametersU () const
 Returns U parameters.
 
IMeshData::IMapOfRealGetParametersU ()
 Returns U parameters.
 
const IMeshData::IMapOfRealGetParametersV () const
 Returns V parameters.
 
IMeshData::IMapOfRealGetParametersV ()
 Returns V parameters.
 
- Public Member Functions inherited from BRepMesh_DefaultRangeSplitter
 BRepMesh_DefaultRangeSplitter ()
 Constructor.
 
virtual ~BRepMesh_DefaultRangeSplitter ()
 Destructor.
 
virtual void AddPoint (const gp_Pnt2d &thePoint)
 Registers border point.
 
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.
 
gp_Pnt Point (const gp_Pnt2d &thePoint2d) const
 Returns point in 3d space corresponded to the given point defined in parameteric space of surface.
 
const IMeshData::IFaceHandleGetDFace () 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 Standard_Boolean initParameters () const
 Initializes U and V parameters lists using CN continuity intervals.
 
virtual Standard_Integer getUndefinedIntervalNb (const Handle< Adaptor3d_Surface > &theSurface, const Standard_Boolean isU, const GeomAbs_Shape theContinuity) const
 Returns number of intervals computed using available geometrical parameters.
 
- 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.
 
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.
 

Additional Inherited Members

- Protected Attributes inherited from BRepMesh_DefaultRangeSplitter
IMeshData::IFaceHandle myDFace
 
std::pair< Standard_Real, Standard_RealmyRangeU
 
std::pair< Standard_Real, Standard_RealmyRangeV
 
std::pair< Standard_Real, Standard_RealmyDelta
 
std::pair< Standard_Real, Standard_RealmyTolerance
 
Standard_Boolean myIsValid
 

Detailed Description

Auxiliary class extending UV range splitter in order to generate internal nodes for NURBS surface.

Constructor & Destructor Documentation

◆ BRepMesh_NURBSRangeSplitter()

BRepMesh_NURBSRangeSplitter::BRepMesh_NURBSRangeSplitter ( )
inline

Constructor.

◆ ~BRepMesh_NURBSRangeSplitter()

virtual BRepMesh_NURBSRangeSplitter::~BRepMesh_NURBSRangeSplitter ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ AdjustRange()

virtual void BRepMesh_NURBSRangeSplitter::AdjustRange ( )
overridevirtual

Updates discrete range of surface according to its geometric range.

Reimplemented from BRepMesh_DefaultRangeSplitter.

◆ GenerateSurfaceNodes()

virtual Handle< IMeshData::ListOfPnt2d > BRepMesh_NURBSRangeSplitter::GenerateSurfaceNodes ( const IMeshTools_Parameters theParameters) const
overridevirtual

Returns list of nodes generated using surface data and specified parameters.

Reimplemented from BRepMesh_DefaultRangeSplitter.

◆ getUndefinedIntervalNb()

virtual Standard_Integer BRepMesh_NURBSRangeSplitter::getUndefinedIntervalNb ( const Handle< Adaptor3d_Surface > &  theSurface,
const Standard_Boolean  isU,
const GeomAbs_Shape  theContinuity 
) const
protectedvirtual

Returns number of intervals computed using available geometrical parameters.

Reimplemented in BRepMesh_ExtrusionRangeSplitter, and BRepMesh_UndefinedRangeSplitter.

◆ initParameters()

virtual Standard_Boolean BRepMesh_NURBSRangeSplitter::initParameters ( ) const
protectedvirtual

Initializes U and V parameters lists using CN continuity intervals.

Reimplemented in BRepMesh_BoundaryParamsRangeSplitter.


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