// 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. #include //============================================================================= //function : // purpose : //============================================================================= Bisector_PointOnBis::Bisector_PointOnBis() { } //============================================================================= //function : // purpose : //============================================================================= Bisector_PointOnBis::Bisector_PointOnBis(const Standard_Real Param1, const Standard_Real Param2, const Standard_Real ParamBis, const Standard_Real Distance, const gp_Pnt2d& P) : param1 (Param1), param2 (Param2), paramBis (ParamBis), distance (Distance), point (P) { infinite = Standard_False; } //============================================================================= //function : ParamOnC1 // purpose : //============================================================================= void Bisector_PointOnBis::ParamOnC1(const Standard_Real Param) { param1 = Param; } //============================================================================= //function : ParamOnC2 // purpose : //============================================================================= void Bisector_PointOnBis::ParamOnC2(const Standard_Real Param) { param2 = Param; } //============================================================================= //function : ParamOnBis // purpose : //============================================================================= void Bisector_PointOnBis::ParamOnBis(const Standard_Real Param) { paramBis = Param; } //============================================================================= //function : Distance // purpose : //============================================================================= void Bisector_PointOnBis::Distance(const Standard_Real Distance) { distance = Distance; } //============================================================================= //function : Point // purpose : //============================================================================= void Bisector_PointOnBis::Point (const gp_Pnt2d& P) { point = P; } //============================================================================= //function : IsInfinite // purpose : //============================================================================= void Bisector_PointOnBis::IsInfinite(const Standard_Boolean Infinite) { infinite = Infinite; } //============================================================================= //function : ParamOnC1 // purpose : //============================================================================= Standard_Real Bisector_PointOnBis::ParamOnC1()const { return param1; } //============================================================================= //function : ParamOnC2 // purpose : //============================================================================= Standard_Real Bisector_PointOnBis::ParamOnC2()const { return param2; } //============================================================================= //function : ParamOnBis // purpose : //============================================================================= Standard_Real Bisector_PointOnBis::ParamOnBis()const { return paramBis; } //============================================================================= //function : Distance // purpose : //============================================================================= Standard_Real Bisector_PointOnBis::Distance()const { return distance; } //============================================================================= //function : Point // purpose : //============================================================================= gp_Pnt2d Bisector_PointOnBis::Point ()const { return point; } //============================================================================= //function : IsInfinite // purpose : //============================================================================= Standard_Boolean Bisector_PointOnBis::IsInfinite() const { return infinite; } //============================================================================= //function : Dump // purpose : //============================================================================= void Bisector_PointOnBis::Dump() const { cout <<"Param1 :"<