Open CASCADE Technology  7.3.0
Public Member Functions

GeomAdaptor_HSurface Class Reference

An interface between the services provided by any surface from the package Geom and those required of the surface by algorithms which use it. Provides a surface handled by reference. More...

#include <GeomAdaptor_HSurface.hxx>

Inheritance diagram for GeomAdaptor_HSurface:
Inheritance graph
[legend]

Public Member Functions

 GeomAdaptor_HSurface ()
 
 GeomAdaptor_HSurface (const GeomAdaptor_Surface &AS)
 
 GeomAdaptor_HSurface (const Handle< Geom_Surface > &S)
 
 GeomAdaptor_HSurface (const Handle< Geom_Surface > &S, const Standard_Real UFirst, const Standard_Real ULast, const Standard_Real VFirst, const Standard_Real VLast, const Standard_Real TolU=0.0, const Standard_Real TolV=0.0)
 ConstructionError is raised if UFirst>ULast or VFirst>VLast. More...
 
- Public Member Functions inherited from GeomAdaptor_GHSurface
 GeomAdaptor_GHSurface ()
 Creates an empty GenHSurface. More...
 
 GeomAdaptor_GHSurface (const GeomAdaptor_Surface &S)
 Creates a GenHSurface from a Surface. More...
 
void Set (const GeomAdaptor_Surface &S)
 Sets the field of the GenHSurface. More...
 
const Adaptor3d_SurfaceSurface () const override
 Returns a reference to the Surface inside the HSurface. This is redefined from HSurface, cannot be inline. More...
 
GeomAdaptor_SurfaceChangeSurface ()
 Returns the surface used to create the GenHSurface. More...
 
- Public Member Functions inherited from Adaptor3d_HSurface
Standard_Real FirstUParameter () const
 
Standard_Real LastUParameter () const
 
Standard_Real FirstVParameter () const
 
Standard_Real LastVParameter () const
 
GeomAbs_Shape UContinuity () const
 
GeomAbs_Shape VContinuity () const
 
Standard_Integer NbUIntervals (const GeomAbs_Shape S) const
 
Standard_Integer NbVIntervals (const GeomAbs_Shape S) const
 
void UIntervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
 
void VIntervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) const
 
Handle< Adaptor3d_HSurfaceUTrim (const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const
 
Handle< Adaptor3d_HSurfaceVTrim (const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const
 
Standard_Boolean IsUClosed () const
 
Standard_Boolean IsVClosed () const
 
Standard_Boolean IsUPeriodic () const
 
Standard_Real UPeriod () const
 
Standard_Boolean IsVPeriodic () const
 
Standard_Real VPeriod () const
 
gp_Pnt Value (const Standard_Real U, const Standard_Real V) const
 
void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt &P) const
 
void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V) const
 
void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV) const
 
void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV, gp_Vec &D3U, gp_Vec &D3V, gp_Vec &D3UUV, gp_Vec &D3UVV) const
 
gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const
 
Standard_Real UResolution (const Standard_Real R3d) const
 
Standard_Real VResolution (const Standard_Real R3d) const
 
GeomAbs_SurfaceType GetType () const
 
gp_Pln Plane () const
 
gp_Cylinder Cylinder () const
 
gp_Cone Cone () const
 
gp_Sphere Sphere () const
 
gp_Torus Torus () const
 
Standard_Integer UDegree () const
 
Standard_Integer NbUPoles () const
 
Standard_Integer VDegree () const
 
Standard_Integer NbVPoles () const
 
Standard_Integer NbUKnots () const
 
Standard_Integer NbVKnots () const
 
Standard_Boolean IsURational () const
 
Standard_Boolean IsVRational () const
 
Handle< Geom_BezierSurfaceBezier () const
 
Handle< Geom_BSplineSurfaceBSpline () const
 
gp_Ax1 AxeOfRevolution () const
 
gp_Dir Direction () const
 
Handle< Adaptor3d_HCurveBasisCurve () const
 
Handle< Adaptor3d_HSurfaceBasisSurface () const
 
Standard_Real OffsetValue () const
 
- 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 GeomAdaptor_GHSurface
GeomAdaptor_Surface mySurf
 

Detailed Description

An interface between the services provided by any surface from the package Geom and those required of the surface by algorithms which use it. Provides a surface handled by reference.

Constructor & Destructor Documentation

◆ GeomAdaptor_HSurface() [1/4]

GeomAdaptor_HSurface::GeomAdaptor_HSurface ( )

◆ GeomAdaptor_HSurface() [2/4]

GeomAdaptor_HSurface::GeomAdaptor_HSurface ( const GeomAdaptor_Surface AS)

◆ GeomAdaptor_HSurface() [3/4]

GeomAdaptor_HSurface::GeomAdaptor_HSurface ( const Handle< Geom_Surface > &  S)

◆ GeomAdaptor_HSurface() [4/4]

GeomAdaptor_HSurface::GeomAdaptor_HSurface ( const Handle< Geom_Surface > &  S,
const Standard_Real  UFirst,
const Standard_Real  ULast,
const Standard_Real  VFirst,
const Standard_Real  VLast,
const Standard_Real  TolU = 0.0,
const Standard_Real  TolV = 0.0 
)

ConstructionError is raised if UFirst>ULast or VFirst>VLast.


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