// Created on: 1994-01-10 // Created by: Yves FRICAUD // Copyright (c) 1994-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. #ifndef _Bisector_PointOnBis_HeaderFile #define _Bisector_PointOnBis_HeaderFile #include #include #include #include #include #include class gp_Pnt2d; class Bisector_PointOnBis { public: DEFINE_STANDARD_ALLOC Standard_EXPORT Bisector_PointOnBis(); Standard_EXPORT Bisector_PointOnBis(const Standard_Real Param1, const Standard_Real Param2, const Standard_Real ParamBis, const Standard_Real Distance, const gp_Pnt2d& Point); Standard_EXPORT void ParamOnC1 (const Standard_Real Param); Standard_EXPORT void ParamOnC2 (const Standard_Real Param); Standard_EXPORT void ParamOnBis (const Standard_Real Param); Standard_EXPORT void Distance (const Standard_Real Distance); Standard_EXPORT void IsInfinite (const Standard_Boolean Infinite); Standard_EXPORT void Point (const gp_Pnt2d& P); Standard_EXPORT Standard_Real ParamOnC1() const; Standard_EXPORT Standard_Real ParamOnC2() const; Standard_EXPORT Standard_Real ParamOnBis() const; Standard_EXPORT Standard_Real Distance() const; Standard_EXPORT gp_Pnt2d Point() const; Standard_EXPORT Standard_Boolean IsInfinite() const; Standard_EXPORT void Dump() const; protected: private: Standard_Real param1; Standard_Real param2; Standard_Real paramBis; Standard_Real distance; Standard_Boolean infinite; gp_Pnt2d point; }; #endif // _Bisector_PointOnBis_HeaderFile