Open CASCADE Technology  7.5.0
Public Member Functions
BRepTopAdaptor_TopolTool Class Reference

#include <BRepTopAdaptor_TopolTool.hxx>

Inheritance diagram for BRepTopAdaptor_TopolTool:
Inheritance graph
[legend]

Public Member Functions

 BRepTopAdaptor_TopolTool ()
 
 BRepTopAdaptor_TopolTool (const Handle< Adaptor3d_HSurface > &Surface)
 
virtual void Initialize () override
 
virtual void Initialize (const Handle< Adaptor3d_HSurface > &S) override
 
virtual void Initialize (const Handle< Adaptor2d_HCurve2d > &Curve) override
 
virtual void Init () override
 
virtual Standard_Boolean More () override
 
virtual Handle< Adaptor2d_HCurve2dValue () override
 
virtual void Next () override
 
virtual Standard_Address Edge () const override
 
virtual void InitVertexIterator () override
 
virtual Standard_Boolean MoreVertex () override
 
virtual Handle< Adaptor3d_HVertexVertex () override
 
virtual void NextVertex () override
 
virtual TopAbs_State Classify (const gp_Pnt2d &P2d, const Standard_Real Tol, const Standard_Boolean RecadreOnPeriodic=Standard_True) override
 
virtual Standard_Boolean IsThePointOn (const gp_Pnt2d &P2d, const Standard_Real Tol, const Standard_Boolean RecadreOnPeriodic=Standard_True) override
 see the code for specifications) More...
 
virtual TopAbs_Orientation Orientation (const Handle< Adaptor2d_HCurve2d > &C) override
 If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface. More...
 
virtual TopAbs_Orientation Orientation (const Handle< Adaptor3d_HVertex > &C) override
 If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface. More...
 
void Destroy ()
 
 ~BRepTopAdaptor_TopolTool ()
 
virtual Standard_Boolean Has3d () const override
 answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods. More...
 
virtual Standard_Real Tol3d (const Handle< Adaptor2d_HCurve2d > &C) const override
 returns 3d tolerance of the arc C More...
 
virtual Standard_Real Tol3d (const Handle< Adaptor3d_HVertex > &V) const override
 returns 3d tolerance of the vertex V More...
 
virtual gp_Pnt Pnt (const Handle< Adaptor3d_HVertex > &V) const override
 returns 3d point of the vertex V More...
 
virtual void ComputeSamplePoints () override
 
virtual Standard_Integer NbSamplesU () override
 compute the sample-points for the intersections algorithms More...
 
virtual Standard_Integer NbSamplesV () override
 compute the sample-points for the intersections algorithms More...
 
virtual Standard_Integer NbSamples () override
 compute the sample-points for the intersections algorithms More...
 
virtual void SamplePoint (const Standard_Integer Index, gp_Pnt2d &P2d, gp_Pnt &P3d) override
 
virtual Standard_Boolean DomainIsInfinite () override
 
- Public Member Functions inherited from Adaptor3d_TopolTool
 Adaptor3d_TopolTool ()
 
 Adaptor3d_TopolTool (const Handle< Adaptor3d_HSurface > &Surface)
 
virtual Standard_Boolean Identical (const Handle< Adaptor3d_HVertex > &V1, const Handle< Adaptor3d_HVertex > &V2)
 Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account. More...
 
void UParameters (TColStd_Array1OfReal &theArray) const
 return the set of U parameters on the surface obtained by the method SamplePnts More...
 
void VParameters (TColStd_Array1OfReal &theArray) const
 return the set of V parameters on the surface obtained by the method SamplePnts More...
 
virtual void SamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin)
 compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces. For other surfaces algorithm is the same as in method ComputeSamplePoints(), but only fill arrays of U and V sample parameters; theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V. More...
 
virtual void BSplSamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin)
 compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V. More...
 
virtual Standard_Boolean IsUniformSampling () const
 Returns true if provide uniform sampling of points. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 
- Protected Attributes inherited from Adaptor3d_TopolTool
Handle< Adaptor3d_HSurfacemyS
 
Standard_Integer myNbSamplesU
 
Standard_Integer myNbSamplesV
 
Handle< TColStd_HArray1OfReal > myUPars
 
Handle< TColStd_HArray1OfReal > myVPars
 

Constructor & Destructor Documentation

◆ BRepTopAdaptor_TopolTool() [1/2]

BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool ( )

◆ BRepTopAdaptor_TopolTool() [2/2]

BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool ( const Handle< Adaptor3d_HSurface > &  Surface)

◆ ~BRepTopAdaptor_TopolTool()

BRepTopAdaptor_TopolTool::~BRepTopAdaptor_TopolTool ( )
inline

Member Function Documentation

◆ Classify()

virtual TopAbs_State BRepTopAdaptor_TopolTool::Classify ( const gp_Pnt2d P2d,
const Standard_Real  Tol,
const Standard_Boolean  RecadreOnPeriodic = Standard_True 
)
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ ComputeSamplePoints()

virtual void BRepTopAdaptor_TopolTool::ComputeSamplePoints ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Destroy()

void BRepTopAdaptor_TopolTool::Destroy ( )

◆ DomainIsInfinite()

virtual Standard_Boolean BRepTopAdaptor_TopolTool::DomainIsInfinite ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Edge()

virtual Standard_Address BRepTopAdaptor_TopolTool::Edge ( ) const
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Has3d()

virtual Standard_Boolean BRepTopAdaptor_TopolTool::Has3d ( ) const
overridevirtual

answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.

Reimplemented from Adaptor3d_TopolTool.

◆ Init()

virtual void BRepTopAdaptor_TopolTool::Init ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Initialize() [1/3]

virtual void BRepTopAdaptor_TopolTool::Initialize ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Initialize() [2/3]

virtual void BRepTopAdaptor_TopolTool::Initialize ( const Handle< Adaptor3d_HSurface > &  S)
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Initialize() [3/3]

virtual void BRepTopAdaptor_TopolTool::Initialize ( const Handle< Adaptor2d_HCurve2d > &  Curve)
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ InitVertexIterator()

virtual void BRepTopAdaptor_TopolTool::InitVertexIterator ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ IsThePointOn()

virtual Standard_Boolean BRepTopAdaptor_TopolTool::IsThePointOn ( const gp_Pnt2d P2d,
const Standard_Real  Tol,
const Standard_Boolean  RecadreOnPeriodic = Standard_True 
)
overridevirtual

see the code for specifications)

Reimplemented from Adaptor3d_TopolTool.

◆ More()

virtual Standard_Boolean BRepTopAdaptor_TopolTool::More ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ MoreVertex()

virtual Standard_Boolean BRepTopAdaptor_TopolTool::MoreVertex ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamples()

virtual Standard_Integer BRepTopAdaptor_TopolTool::NbSamples ( )
overridevirtual

compute the sample-points for the intersections algorithms

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamplesU()

virtual Standard_Integer BRepTopAdaptor_TopolTool::NbSamplesU ( )
overridevirtual

compute the sample-points for the intersections algorithms

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamplesV()

virtual Standard_Integer BRepTopAdaptor_TopolTool::NbSamplesV ( )
overridevirtual

compute the sample-points for the intersections algorithms

Reimplemented from Adaptor3d_TopolTool.

◆ Next()

virtual void BRepTopAdaptor_TopolTool::Next ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ NextVertex()

virtual void BRepTopAdaptor_TopolTool::NextVertex ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Orientation() [1/2]

virtual TopAbs_Orientation BRepTopAdaptor_TopolTool::Orientation ( const Handle< Adaptor2d_HCurve2d > &  C)
overridevirtual

If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

Reimplemented from Adaptor3d_TopolTool.

◆ Orientation() [2/2]

virtual TopAbs_Orientation BRepTopAdaptor_TopolTool::Orientation ( const Handle< Adaptor3d_HVertex > &  C)
overridevirtual

If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

Reimplemented from Adaptor3d_TopolTool.

◆ Pnt()

virtual gp_Pnt BRepTopAdaptor_TopolTool::Pnt ( const Handle< Adaptor3d_HVertex > &  V) const
overridevirtual

returns 3d point of the vertex V

Reimplemented from Adaptor3d_TopolTool.

◆ SamplePoint()

virtual void BRepTopAdaptor_TopolTool::SamplePoint ( const Standard_Integer  Index,
gp_Pnt2d P2d,
gp_Pnt P3d 
)
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Tol3d() [1/2]

virtual Standard_Real BRepTopAdaptor_TopolTool::Tol3d ( const Handle< Adaptor2d_HCurve2d > &  C) const
overridevirtual

returns 3d tolerance of the arc C

Reimplemented from Adaptor3d_TopolTool.

◆ Tol3d() [2/2]

virtual Standard_Real BRepTopAdaptor_TopolTool::Tol3d ( const Handle< Adaptor3d_HVertex > &  V) const
overridevirtual

returns 3d tolerance of the vertex V

Reimplemented from Adaptor3d_TopolTool.

◆ Value()

virtual Handle< Adaptor2d_HCurve2d > BRepTopAdaptor_TopolTool::Value ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Vertex()

virtual Handle< Adaptor3d_HVertex > BRepTopAdaptor_TopolTool::Vertex ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.


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