Open CASCADE Technology 7.8.0
Public Member Functions
IntTools_TopolTool Class Reference

Class redefine methods of TopolTool from Adaptor3d concerning sample points. More...

#include <IntTools_TopolTool.hxx>

Inheritance diagram for IntTools_TopolTool:
Inheritance graph
[legend]

Public Member Functions

 IntTools_TopolTool ()
 Empty constructor.
 
 IntTools_TopolTool (const Handle< Adaptor3d_Surface > &theSurface)
 Initializes me by surface.
 
virtual void Initialize () override
 Redefined empty initializer.
 
virtual void Initialize (const Handle< Adaptor3d_Surface > &theSurface) override
 Initializes me by surface.
 
virtual void ComputeSamplePoints () override
 
virtual Standard_Integer NbSamplesU () override
 Computes the sample-points for the intersections algorithms.
 
virtual Standard_Integer NbSamplesV () override
 Computes the sample-points for the intersections algorithms.
 
virtual Standard_Integer NbSamples () override
 Computes the sample-points for the intersections algorithms.
 
virtual void SamplePoint (const Standard_Integer Index, gp_Pnt2d &P2d, gp_Pnt &P3d) override
 Returns a 2d point from surface myS and a corresponded 3d point for given index. The index should be from 1 to NbSamples()
 
virtual void SamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin) override
 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 required deflection theNUmin, theNVmin are minimal nb points for U and V.
 
- Public Member Functions inherited from Adaptor3d_TopolTool
 Adaptor3d_TopolTool ()
 
 Adaptor3d_TopolTool (const Handle< Adaptor3d_Surface > &Surface)
 
virtual void Initialize (const Handle< Adaptor2d_Curve2d > &Curve)
 
virtual void Init ()
 
virtual Standard_Boolean More ()
 
virtual Handle< Adaptor2d_Curve2dValue ()
 
virtual void Next ()
 
virtual void InitVertexIterator ()
 
virtual Standard_Boolean MoreVertex ()
 
virtual Handle< Adaptor3d_HVertexVertex ()
 
virtual void NextVertex ()
 
virtual TopAbs_State Classify (const gp_Pnt2d &P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic=Standard_True)
 
virtual Standard_Boolean IsThePointOn (const gp_Pnt2d &P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic=Standard_True)
 
virtual TopAbs_Orientation Orientation (const Handle< Adaptor2d_Curve2d > &C)
 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.
 
virtual TopAbs_Orientation Orientation (const Handle< Adaptor3d_HVertex > &V)
 Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc.
 
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.
 
virtual Standard_Boolean Has3d () const
 answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.
 
virtual Standard_Real Tol3d (const Handle< Adaptor2d_Curve2d > &C) const
 returns 3d tolerance of the arc C
 
virtual Standard_Real Tol3d (const Handle< Adaptor3d_HVertex > &V) const
 returns 3d tolerance of the vertex V
 
virtual gp_Pnt Pnt (const Handle< Adaptor3d_HVertex > &V) const
 returns 3d point of the vertex V
 
void UParameters (TColStd_Array1OfReal &theArray) const
 return the set of U parameters on the surface obtained by the method SamplePnts
 
void VParameters (TColStd_Array1OfReal &theArray) const
 return the set of V parameters on the surface obtained by the method SamplePnts
 
virtual Standard_Boolean DomainIsInfinite ()
 
virtual Standard_Address Edge () const
 
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.
 
virtual Standard_Boolean IsUniformSampling () const
 Returns true if provide uniform sampling of points.
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
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.
 
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.
 
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.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Adaptor3d_TopolTool
static void GetConeApexParam (const gp_Cone &theC, Standard_Real &theU, Standard_Real &theV)
 Computes the cone's apex parameters.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 
- Protected Attributes inherited from Adaptor3d_TopolTool
Handle< Adaptor3d_SurfacemyS
 
Standard_Integer myNbSamplesU
 
Standard_Integer myNbSamplesV
 
Handle< TColStd_HArray1OfRealmyUPars
 
Handle< TColStd_HArray1OfRealmyVPars
 

Detailed Description

Class redefine methods of TopolTool from Adaptor3d concerning sample points.

Constructor & Destructor Documentation

◆ IntTools_TopolTool() [1/2]

IntTools_TopolTool::IntTools_TopolTool ( )

Empty constructor.

◆ IntTools_TopolTool() [2/2]

IntTools_TopolTool::IntTools_TopolTool ( const Handle< Adaptor3d_Surface > &  theSurface)

Initializes me by surface.

Member Function Documentation

◆ ComputeSamplePoints()

virtual void IntTools_TopolTool::ComputeSamplePoints ( )
overridevirtual

Reimplemented from Adaptor3d_TopolTool.

◆ Initialize() [1/2]

virtual void IntTools_TopolTool::Initialize ( )
overridevirtual

Redefined empty initializer.

Warning: Raises the exception NotImplemented

Reimplemented from Adaptor3d_TopolTool.

◆ Initialize() [2/2]

virtual void IntTools_TopolTool::Initialize ( const Handle< Adaptor3d_Surface > &  theSurface)
overridevirtual

Initializes me by surface.

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamples()

virtual Standard_Integer IntTools_TopolTool::NbSamples ( )
overridevirtual

Computes the sample-points for the intersections algorithms.

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamplesU()

virtual Standard_Integer IntTools_TopolTool::NbSamplesU ( )
overridevirtual

Computes the sample-points for the intersections algorithms.

Reimplemented from Adaptor3d_TopolTool.

◆ NbSamplesV()

virtual Standard_Integer IntTools_TopolTool::NbSamplesV ( )
overridevirtual

Computes the sample-points for the intersections algorithms.

Reimplemented from Adaptor3d_TopolTool.

◆ SamplePnts()

virtual void IntTools_TopolTool::SamplePnts ( const Standard_Real  theDefl,
const Standard_Integer  theNUmin,
const Standard_Integer  theNVmin 
)
overridevirtual

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 required deflection theNUmin, theNVmin are minimal nb points for U and V.

Reimplemented from Adaptor3d_TopolTool.

◆ SamplePoint()

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

Returns a 2d point from surface myS and a corresponded 3d point for given index. The index should be from 1 to NbSamples()

Reimplemented from Adaptor3d_TopolTool.


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