OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    GeomAdaptor_Surface 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. Creation of the loaded surface the surface is C1 by piece. More...

    #include <GeomAdaptor_Surface.hxx>

    Inheritance diagram for GeomAdaptor_Surface:

    Data Structures

    struct  ExtrusionData
     Internal structure for extrusion surface evaluation data. More...
    struct  RevolutionData
     Internal structure for revolution surface evaluation data. More...
    struct  OffsetData
     Internal structure for offset surface evaluation data. More...
    struct  BezierData
     Internal structure for Bezier surface cache data. More...
    struct  BSplineData
     Internal structure for BSpline surface cache data. More...

    Public Types

    using SurfaceDataVariant
     Variant type for surface-specific evaluation data.
    typedef void base_type
     Returns a type descriptor about this object.

    Public Member Functions

     GeomAdaptor_Surface ()
     GeomAdaptor_Surface (const occ::handle< Geom_Surface > &theSurf)
     GeomAdaptor_Surface (const occ::handle< Geom_Surface > &theSurf, const double theUFirst, const double theULast, const double theVFirst, const double theVLast, const double theTolU=0.0, const double theTolV=0.0)
     Standard_ConstructionError is raised if UFirst>ULast or VFirst>VLast.
    occ::handle< Adaptor3d_Surface > ShallowCopy () const override
     Shallow copy of adaptor.
    void Load (const occ::handle< Geom_Surface > &theSurf)
    void Load (const occ::handle< Geom_Surface > &theSurf, const double theUFirst, const double theULast, const double theVFirst, const double theVLast, const double theTolU=0.0, const double theTolV=0.0)
     Standard_ConstructionError is raised if theUFirst>theULast or theVFirst>theVLast.
    const occ::handle< Geom_Surface > & Surface () const
    double FirstUParameter () const override
    double LastUParameter () const override
    double FirstVParameter () const override
    double LastVParameter () const override
    void Bounds (double &theU1, double &theU2, double &theV1, double &theV2) const
     Returns the parametric bounds of the surface.
    double ToleranceU () const
     Returns tolerance in U direction.
    double ToleranceV () const
     Returns tolerance in V direction.
    GeomAbs_Shape UContinuity () const override
    GeomAbs_Shape VContinuity () const override
    int NbUIntervals (const GeomAbs_Shape S) const override
     Returns the number of U intervals for continuity . May be one if UContinuity(me) >= .
    int NbVIntervals (const GeomAbs_Shape S) const override
     Returns the number of V intervals for continuity . May be one if VContinuity(me) >= .
    void UIntervals (NCollection_Array1< double > &T, const GeomAbs_Shape S) const override
     Returns the intervals with the requested continuity in the U direction.
    void VIntervals (NCollection_Array1< double > &T, const GeomAbs_Shape S) const override
     Returns the intervals with the requested continuity in the V direction.
    occ::handle< Adaptor3d_Surface > UTrim (const double First, const double Last, const double Tol) const override
     Returns a surface trimmed in the U direction equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.
    occ::handle< Adaptor3d_Surface > VTrim (const double First, const double Last, const double Tol) const override
     Returns a surface trimmed in the V direction between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.
    bool IsUClosed () const override
    bool IsVClosed () const override
    bool IsUPeriodic () const override
    double UPeriod () const override
    bool IsVPeriodic () const override
    double VPeriod () const override
    gp_Pnt EvalD0 (const double theU, const double theV) const final
     Point evaluation. Raises an exception on failure.
    Geom_Surface::ResD1 EvalD1 (const double theU, const double theV) const final
     D1 evaluation. Raises an exception on failure.
    Geom_Surface::ResD2 EvalD2 (const double theU, const double theV) const final
     D2 evaluation. Raises an exception on failure.
    Geom_Surface::ResD3 EvalD3 (const double theU, const double theV) const final
     D3 evaluation. Raises an exception on failure.
    gp_Vec EvalDN (const double theU, const double theV, const int theNu, const int theNv) const final
     DN evaluation. Raises an exception on failure.
    double UResolution (const double R3d) const override
     Returns the parametric U resolution corresponding to the real space resolution <R3d>.
    double VResolution (const double R3d) const override
     Returns the parametric V resolution corresponding to the real space resolution <R3d>.
    GeomAbs_SurfaceType GetType () const override
     Returns the type of the surface: Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface.
    gp_Pln Plane () const override
    gp_Cylinder Cylinder () const override
    gp_Cone Cone () const override
    gp_Sphere Sphere () const override
    gp_Torus Torus () const override
    int UDegree () const override
    int NbUPoles () const override
    int VDegree () const override
    int NbVPoles () const override
    int NbUKnots () const override
    int NbVKnots () const override
    bool IsURational () const override
    bool IsVRational () const override
    occ::handle< Geom_BezierSurface > Bezier () const override
     This will NOT make a copy of the Bezier Surface : If you want to modify the Surface please make a copy yourself Also it will NOT trim the surface to myU/VFirst/Last.
    occ::handle< Geom_BSplineSurface > BSpline () const override
     This will NOT make a copy of the BSpline Surface : If you want to modify the Surface please make a copy yourself Also it will NOT trim the surface to myU/VFirst/Last.
    gp_Ax1 AxeOfRevolution () const override
    gp_Dir Direction () const override
    occ::handle< Adaptor3d_Curve > BasisCurve () const override
    occ::handle< Adaptor3d_Surface > BasisSurface () const override
    double OffsetValue () const override
    Public Member Functions inherited from Adaptor3d_Surface
    gp_Pnt Value (const double theU, const double theV) const
     Computes the point of parameters U,V on the surface. Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point.
    void D0 (const double theU, const double theV, gp_Pnt &theP) const
     Computes the point of parameters U,V on the surface.
    void D1 (const double theU, const double theV, gp_Pnt &theP, gp_Vec &theD1U, gp_Vec &theD1V) const
     Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1.
    void D2 (const double theU, const double theV, gp_Pnt &theP, gp_Vec &theD1U, gp_Vec &theD1V, gp_Vec &theD2U, gp_Vec &theD2V, gp_Vec &theD2UV) const
     Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2.
    void D3 (const double theU, const double theV, gp_Pnt &theP, gp_Vec &theD1U, gp_Vec &theD1V, gp_Vec &theD2U, gp_Vec &theD2V, gp_Vec &theD2UV, gp_Vec &theD3U, gp_Vec &theD3V, gp_Vec &theD3UUV, gp_Vec &theD3UVV) const
     Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3.
    gp_Vec DN (const double theU, const double theV, const int theNu, const int theNv) const
     Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
     ~Adaptor3d_Surface () override
    Public Member Functions inherited from Standard_Transient
     Standard_Transient ()
     Empty constructor.
     Standard_Transient (const Standard_Transient &)
     Copy constructor – does nothing.
    Standard_Transient & operator= (const Standard_Transient &)
     Assignment operator, needed to avoid copying reference counter.
    virtual ~Standard_Transient ()=default
     Destructor must be virtual.
    virtual const opencascade::handle< Standard_Type > & DynamicType () const
     Returns a type descriptor about this object.
    bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
     Returns a true value if this is an instance of Type.
    bool IsInstance (const char *const theTypeName) const
     Returns a true value if this is an instance of TypeName.
    bool 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.
    bool IsKind (const char *const 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_Transient * This () 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.
    int GetRefCount () const noexcept
     Get the reference counter of this object.
    void IncrementRefCounter () noexcept
     Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
    int DecrementRefCounter () noexcept
     Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
    virtual void Delete () const
     Memory deallocator for transient classes.

    Protected Attributes

    occ::handle< Geom_Surface > mySurface
    double myUFirst
    double myULast
    double myVFirst
    double myVLast
    double myTolU
    double myTolV
    GeomAbs_SurfaceType mySurfaceType
    SurfaceDataVariant mySurfaceData
     Surface-specific evaluation data.

    Additional Inherited Members

    static constexpr const char * get_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.

    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. Creation of the loaded surface the surface is C1 by piece.

    Polynomial coefficients of BSpline surfaces used for their evaluation are cached for better performance. Therefore these evaluations are not thread-safe and parallel evaluations need to be prevented.

    Member Typedef Documentation

    ◆ SurfaceDataVariant

    Initial value:
    std::variant<std::monostate,
    Defines an infinite conical surface. A cone is defined by its half-angle (can be negative) at the ape...
    Definition gp_Cone.hxx:52
    Describes an infinite cylindrical surface. A cylinder is defined by its radius and positioned in spac...
    Definition gp_Cylinder.hxx:42
    Describes a plane. A plane is positioned in space with a coordinate system (a gp_Ax3 object),...
    Definition gp_Pln.hxx:47
    Describes a sphere. A sphere is defined by its radius and positioned in space with a coordinate syste...
    Definition gp_Sphere.hxx:43
    Describes a torus. A torus is defined by its major and minor radii and positioned in space with a coo...
    Definition gp_Torus.hxx:56
    Internal structure for BSpline surface cache data.
    Definition GeomAdaptor_Surface.hxx:97
    Internal structure for Bezier surface cache data.
    Definition GeomAdaptor_Surface.hxx:89
    Internal structure for extrusion surface evaluation data.
    Definition GeomAdaptor_Surface.hxx:61
    Internal structure for offset surface evaluation data.
    Definition GeomAdaptor_Surface.hxx:77
    Internal structure for revolution surface evaluation data.
    Definition GeomAdaptor_Surface.hxx:69

    Variant type for surface-specific evaluation data.

    Constructor & Destructor Documentation

    ◆ GeomAdaptor_Surface() [1/3]

    GeomAdaptor_Surface::GeomAdaptor_Surface ( )
    inline

    ◆ GeomAdaptor_Surface() [2/3]

    GeomAdaptor_Surface::GeomAdaptor_Surface ( const occ::handle< Geom_Surface > & theSurf)
    inline

    ◆ GeomAdaptor_Surface() [3/3]

    GeomAdaptor_Surface::GeomAdaptor_Surface ( const occ::handle< Geom_Surface > & theSurf,
    const double theUFirst,
    const double theULast,
    const double theVFirst,
    const double theVLast,
    const double theTolU = 0.0,
    const double theTolV = 0.0 )
    inline

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

    Member Function Documentation

    ◆ AxeOfRevolution()

    gp_Ax1 GeomAdaptor_Surface::AxeOfRevolution ( ) const
    overridevirtual

    ◆ BasisCurve()

    occ::handle< Adaptor3d_Curve > GeomAdaptor_Surface::BasisCurve ( ) const
    overridevirtual

    ◆ BasisSurface()

    occ::handle< Adaptor3d_Surface > GeomAdaptor_Surface::BasisSurface ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    ◆ Bezier()

    occ::handle< Geom_BezierSurface > GeomAdaptor_Surface::Bezier ( ) const
    overridevirtual

    This will NOT make a copy of the Bezier Surface : If you want to modify the Surface please make a copy yourself Also it will NOT trim the surface to myU/VFirst/Last.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ Bounds()

    void GeomAdaptor_Surface::Bounds ( double & theU1,
    double & theU2,
    double & theV1,
    double & theV2 ) const
    inline

    Returns the parametric bounds of the surface.

    Parameters
    [out]theU1minimum U parameter
    [out]theU2maximum U parameter
    [out]theV1minimum V parameter
    [out]theV2maximum V parameter

    ◆ BSpline()

    occ::handle< Geom_BSplineSurface > GeomAdaptor_Surface::BSpline ( ) const
    overridevirtual

    This will NOT make a copy of the BSpline Surface : If you want to modify the Surface please make a copy yourself Also it will NOT trim the surface to myU/VFirst/Last.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ Cone()

    gp_Cone GeomAdaptor_Surface::Cone ( ) const
    overridevirtual

    ◆ Cylinder()

    gp_Cylinder GeomAdaptor_Surface::Cylinder ( ) const
    overridevirtual

    ◆ Direction()

    gp_Dir GeomAdaptor_Surface::Direction ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion.

    ◆ EvalD0()

    gp_Pnt GeomAdaptor_Surface::EvalD0 ( const double theU,
    const double theV ) const
    nodiscardfinalvirtual

    Point evaluation. Raises an exception on failure.

    Reimplemented from Adaptor3d_Surface.

    ◆ EvalD1()

    Geom_Surface::ResD1 GeomAdaptor_Surface::EvalD1 ( const double theU,
    const double theV ) const
    nodiscardfinalvirtual

    D1 evaluation. Raises an exception on failure.

    Reimplemented from Adaptor3d_Surface.

    ◆ EvalD2()

    Geom_Surface::ResD2 GeomAdaptor_Surface::EvalD2 ( const double theU,
    const double theV ) const
    nodiscardfinalvirtual

    D2 evaluation. Raises an exception on failure.

    Reimplemented from Adaptor3d_Surface.

    ◆ EvalD3()

    Geom_Surface::ResD3 GeomAdaptor_Surface::EvalD3 ( const double theU,
    const double theV ) const
    nodiscardfinalvirtual

    D3 evaluation. Raises an exception on failure.

    Reimplemented from Adaptor3d_Surface.

    ◆ EvalDN()

    gp_Vec GeomAdaptor_Surface::EvalDN ( const double theU,
    const double theV,
    const int theNu,
    const int theNv ) const
    nodiscardfinalvirtual

    DN evaluation. Raises an exception on failure.

    Reimplemented from Adaptor3d_Surface.

    ◆ FirstUParameter()

    double GeomAdaptor_Surface::FirstUParameter ( ) const
    inlineoverridevirtual

    ◆ FirstVParameter()

    double GeomAdaptor_Surface::FirstVParameter ( ) const
    inlineoverridevirtual

    ◆ GetType()

    GeomAbs_SurfaceType GeomAdaptor_Surface::GetType ( ) const
    inlineoverridevirtual

    Returns the type of the surface: Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ IsUClosed()

    bool GeomAdaptor_Surface::IsUClosed ( ) const
    overridevirtual

    ◆ IsUPeriodic()

    bool GeomAdaptor_Surface::IsUPeriodic ( ) const
    overridevirtual

    ◆ IsURational()

    bool GeomAdaptor_Surface::IsURational ( ) const
    overridevirtual

    ◆ IsVClosed()

    bool GeomAdaptor_Surface::IsVClosed ( ) const
    overridevirtual

    ◆ IsVPeriodic()

    bool GeomAdaptor_Surface::IsVPeriodic ( ) const
    overridevirtual

    ◆ IsVRational()

    bool GeomAdaptor_Surface::IsVRational ( ) const
    overridevirtual

    ◆ LastUParameter()

    double GeomAdaptor_Surface::LastUParameter ( ) const
    inlineoverridevirtual

    ◆ LastVParameter()

    double GeomAdaptor_Surface::LastVParameter ( ) const
    inlineoverridevirtual

    ◆ Load() [1/2]

    void GeomAdaptor_Surface::Load ( const occ::handle< Geom_Surface > & theSurf)
    inline

    ◆ Load() [2/2]

    void GeomAdaptor_Surface::Load ( const occ::handle< Geom_Surface > & theSurf,
    const double theUFirst,
    const double theULast,
    const double theVFirst,
    const double theVLast,
    const double theTolU = 0.0,
    const double theTolV = 0.0 )
    inline

    Standard_ConstructionError is raised if theUFirst>theULast or theVFirst>theVLast.

    ◆ NbUIntervals()

    int GeomAdaptor_Surface::NbUIntervals ( const GeomAbs_Shape S) const
    overridevirtual

    Returns the number of U intervals for continuity . May be one if UContinuity(me) >= .

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ NbUKnots()

    int GeomAdaptor_Surface::NbUKnots ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    ◆ NbUPoles()

    int GeomAdaptor_Surface::NbUPoles ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion.

    ◆ NbVIntervals()

    int GeomAdaptor_Surface::NbVIntervals ( const GeomAbs_Shape S) const
    overridevirtual

    Returns the number of V intervals for continuity . May be one if VContinuity(me) >= .

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ NbVKnots()

    int GeomAdaptor_Surface::NbVKnots ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfRevolution.

    ◆ NbVPoles()

    int GeomAdaptor_Surface::NbVPoles ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfRevolution.

    ◆ OffsetValue()

    double GeomAdaptor_Surface::OffsetValue ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    ◆ Plane()

    gp_Pln GeomAdaptor_Surface::Plane ( ) const
    overridevirtual

    ◆ ShallowCopy()

    occ::handle< Adaptor3d_Surface > GeomAdaptor_Surface::ShallowCopy ( ) const
    overridevirtual

    Shallow copy of adaptor.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ Sphere()

    gp_Sphere GeomAdaptor_Surface::Sphere ( ) const
    overridevirtual

    ◆ Surface()

    const occ::handle< Geom_Surface > & GeomAdaptor_Surface::Surface ( ) const
    inline

    ◆ ToleranceU()

    double GeomAdaptor_Surface::ToleranceU ( ) const
    inline

    Returns tolerance in U direction.

    ◆ ToleranceV()

    double GeomAdaptor_Surface::ToleranceV ( ) const
    inline

    Returns tolerance in V direction.

    ◆ Torus()

    gp_Torus GeomAdaptor_Surface::Torus ( ) const
    overridevirtual

    ◆ UContinuity()

    GeomAbs_Shape GeomAdaptor_Surface::UContinuity ( ) const
    overridevirtual

    ◆ UDegree()

    int GeomAdaptor_Surface::UDegree ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion.

    ◆ UIntervals()

    void GeomAdaptor_Surface::UIntervals ( NCollection_Array1< double > & T,
    const GeomAbs_Shape S ) const
    overridevirtual

    Returns the intervals with the requested continuity in the U direction.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ UPeriod()

    double GeomAdaptor_Surface::UPeriod ( ) const
    overridevirtual

    ◆ UResolution()

    double GeomAdaptor_Surface::UResolution ( const double R3d) const
    overridevirtual

    Returns the parametric U resolution corresponding to the real space resolution <R3d>.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ UTrim()

    occ::handle< Adaptor3d_Surface > GeomAdaptor_Surface::UTrim ( const double First,
    const double Last,
    const double Tol ) const
    overridevirtual

    Returns a surface trimmed in the U direction equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ VContinuity()

    GeomAbs_Shape GeomAdaptor_Surface::VContinuity ( ) const
    overridevirtual

    ◆ VDegree()

    int GeomAdaptor_Surface::VDegree ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfRevolution.

    ◆ VIntervals()

    void GeomAdaptor_Surface::VIntervals ( NCollection_Array1< double > & T,
    const GeomAbs_Shape S ) const
    overridevirtual

    Returns the intervals with the requested continuity in the V direction.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ VPeriod()

    double GeomAdaptor_Surface::VPeriod ( ) const
    overridevirtual

    ◆ VResolution()

    double GeomAdaptor_Surface::VResolution ( const double R3d) const
    overridevirtual

    Returns the parametric V resolution corresponding to the real space resolution <R3d>.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    ◆ VTrim()

    occ::handle< Adaptor3d_Surface > GeomAdaptor_Surface::VTrim ( const double First,
    const double Last,
    const double Tol ) const
    overridevirtual

    Returns a surface trimmed in the V direction between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.

    Reimplemented from Adaptor3d_Surface.

    Reimplemented in GeomAdaptor_SurfaceOfLinearExtrusion, and GeomAdaptor_SurfaceOfRevolution.

    Field Documentation

    ◆ mySurface

    occ::handle<Geom_Surface> GeomAdaptor_Surface::mySurface
    protected

    ◆ mySurfaceData

    SurfaceDataVariant GeomAdaptor_Surface::mySurfaceData
    protected

    Surface-specific evaluation data.

    ◆ mySurfaceType

    GeomAbs_SurfaceType GeomAdaptor_Surface::mySurfaceType
    protected

    ◆ myTolU

    double GeomAdaptor_Surface::myTolU
    protected

    ◆ myTolV

    double GeomAdaptor_Surface::myTolV
    protected

    ◆ myUFirst

    double GeomAdaptor_Surface::myUFirst
    protected

    ◆ myULast

    double GeomAdaptor_Surface::myULast
    protected

    ◆ myVFirst

    double GeomAdaptor_Surface::myVFirst
    protected

    ◆ myVLast

    double GeomAdaptor_Surface::myVLast
    protected

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