// Created on: 1993-07-01 // Created by: Bruno DUMORTIER // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //======================================================================= //function : ~Adaptor2d_Curve2d //purpose : Destructor //======================================================================= Adaptor2d_Curve2d::~Adaptor2d_Curve2d() { } //======================================================================= //function : FirstParameter //purpose : //======================================================================= Standard_Real Adaptor2d_Curve2d::FirstParameter() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::FirstParameter"); } //======================================================================= //function : LastParameter //purpose : //======================================================================= Standard_Real Adaptor2d_Curve2d::LastParameter() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::LastParameter"); } //======================================================================= //function : Continuity //purpose : //======================================================================= GeomAbs_Shape Adaptor2d_Curve2d::Continuity() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Continuity"); } //======================================================================= //function : NbIntervals //purpose : //======================================================================= //Standard_Integer Adaptor2d_Curve2d::NbIntervals(const GeomAbs_Shape S) const Standard_Integer Adaptor2d_Curve2d::NbIntervals(const GeomAbs_Shape ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::NbIntervals"); } //======================================================================= //function : Intervals //purpose : //======================================================================= //void Adaptor2d_Curve2d::Intervals(TColStd_Array1OfReal& T, // const GeomAbs_Shape S) const void Adaptor2d_Curve2d::Intervals(TColStd_Array1OfReal& , const GeomAbs_Shape ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Intervals"); } //======================================================================= //function : Trim //purpose : //======================================================================= //Handle(Adaptor2d_HCurve2d) Adaptor2d_Curve2d::Trim(const Standard_Real First, // const Standard_Real Last , // const Standard_Real Tol) const Handle(Adaptor2d_HCurve2d) Adaptor2d_Curve2d::Trim(const Standard_Real , const Standard_Real , const Standard_Real ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Trim"); } //======================================================================= //function : IsClosed //purpose : //======================================================================= Standard_Boolean Adaptor2d_Curve2d::IsClosed() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::IsClosed"); } //======================================================================= //function : IsPeriodic //purpose : //======================================================================= Standard_Boolean Adaptor2d_Curve2d::IsPeriodic() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::IsPeriodic"); } //======================================================================= //function : Period //purpose : //======================================================================= Standard_Real Adaptor2d_Curve2d::Period() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Period"); } //======================================================================= //function : Value //purpose : //======================================================================= //gp_Pnt2d Adaptor2d_Curve2d::Value(const Standard_Real U) const gp_Pnt2d Adaptor2d_Curve2d::Value(const Standard_Real ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Value"); } //======================================================================= //function : D0 //purpose : //======================================================================= //void Adaptor2d_Curve2d::D0(const Standard_Real U, gp_Pnt2d& P) const void Adaptor2d_Curve2d::D0(const Standard_Real , gp_Pnt2d& ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::D0"); } //======================================================================= //function : D1 //purpose : //======================================================================= //void Adaptor2d_Curve2d::D1(const Standard_Real U, // gp_Pnt2d& P, gp_Vec2d& V) const void Adaptor2d_Curve2d::D1(const Standard_Real , gp_Pnt2d& , gp_Vec2d& ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::D1"); } //======================================================================= //function : D2 //purpose : //======================================================================= //void Adaptor2d_Curve2d::D2(const Standard_Real U, // gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2) const void Adaptor2d_Curve2d::D2(const Standard_Real , gp_Pnt2d& , gp_Vec2d& , gp_Vec2d& ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::D2"); } //======================================================================= //function : D3 //purpose : //======================================================================= //void Adaptor2d_Curve2d::D3(const Standard_Real U, // gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3) void Adaptor2d_Curve2d::D3(const Standard_Real , gp_Pnt2d& , gp_Vec2d& , gp_Vec2d& , gp_Vec2d& ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::D3"); } //======================================================================= //function : DN //purpose : //======================================================================= //gp_Vec2d Adaptor2d_Curve2d::DN(const Standard_Real U, // const Standard_Integer N) const gp_Vec2d Adaptor2d_Curve2d::DN(const Standard_Real , const Standard_Integer ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::DN"); } //======================================================================= //function : Resolution //purpose : //======================================================================= //Standard_Real Adaptor2d_Curve2d::Resolution(const Standard_Real R3d) const Standard_Real Adaptor2d_Curve2d::Resolution(const Standard_Real ) const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Resolution"); } //======================================================================= //function : GetType //purpose : //======================================================================= GeomAbs_CurveType Adaptor2d_Curve2d::GetType() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::GetType"); } //======================================================================= //function : Line //purpose : //======================================================================= gp_Lin2d Adaptor2d_Curve2d::Line() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Line"); } //======================================================================= //function : Circle //purpose : //======================================================================= gp_Circ2d Adaptor2d_Curve2d::Circle() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Circle"); } //======================================================================= //function : Ellipse //purpose : //======================================================================= gp_Elips2d Adaptor2d_Curve2d::Ellipse() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Ellipse"); } //======================================================================= //function : Hyperbola //purpose : //======================================================================= gp_Hypr2d Adaptor2d_Curve2d::Hyperbola() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Hyperbola"); } //======================================================================= //function : Parabola //purpose : //======================================================================= gp_Parab2d Adaptor2d_Curve2d::Parabola() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Parabola"); } //======================================================================= //function : Degree //purpose : //======================================================================= Standard_Integer Adaptor2d_Curve2d::Degree() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Degree"); } //======================================================================= //function : IsRational //purpose : //======================================================================= Standard_Boolean Adaptor2d_Curve2d::IsRational() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::IsRational"); } //======================================================================= //function : NbPoles //purpose : //======================================================================= Standard_Integer Adaptor2d_Curve2d::NbPoles() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::NbPole"); } //======================================================================= //function : NbKnots //purpose : //======================================================================= Standard_Integer Adaptor2d_Curve2d::NbKnots() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::NbKnots"); } //======================================================================= //function : Bezier //purpose : //======================================================================= Handle(Geom2d_BezierCurve) Adaptor2d_Curve2d::Bezier() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::Bezier"); } //======================================================================= //function : BSpline //purpose : //======================================================================= Handle(Geom2d_BSplineCurve) Adaptor2d_Curve2d::BSpline() const { throw Standard_NotImplemented("Adaptor2d_Curve2d::BSpline"); } //======================================================================= //function : NbSamples //purpose : //======================================================================= Standard_Integer Adaptor2d_Curve2d::NbSamples() const { return 20; }