-- Created on: 1992-10-19 -- Created by: Remi GILET -- Copyright (c) 1992-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. class Bisec from Bisector --- Purpose : Bisec provides the bisecting line between two elements -- This line is trimed by a point

and it's contained in the domain -- defined by the two vectors , and . -- -- Definition of the domain: -- if is true the bisecting line is contained in the sector -- defined by <-V1> and <-V2> in the sense indirect. -- if is false the bisecting line is contained in the sector -- defined by <-V1> and <-V2> in the sense direct. -- -- is used to define degenerate bisector. -- if the bisector is an hyperbola and one of this radius is smaller -- than , the bisector is replaced by a line or semi_line -- corresponding to one of hyperbola's axes. -- if the bisector is a parabola on the focal length is smaller than -- , the bisector is replaced by a semi_line corresponding -- to the axe of symetrie of the parabola. -- if the bisector is an ellipse and the minor radius is smaller than -- , the bisector is replaced by a segment corresponding -- to the great axe of the ellipse. uses TrimmedCurve from Geom2d , Curve from Geom2d , Curve from Bisector, Point from Geom2d , Pnt2d from gp , Vec2d from gp , Integer from Standard is Create returns Bisec from Bisector; Perform(me : in out ; Cu1 : Curve from Geom2d ; Cu2 : Curve from Geom2d ; P : Pnt2d from gp ; V1 : Vec2d from gp ; V2 : Vec2d from gp ; Sense : Real from Standard ; Tolerance : Real from Standard ; oncurve : Boolean from Standard = Standard_True ); --- Purpose : Performs the bisecting line between the curves -- and . -- is True if the point

is common to -- and . Perform(me : in out ; Cu : Curve from Geom2d ; Pnt : Point from Geom2d ; P : Pnt2d from gp ; V1 : Vec2d from gp ; V2 : Vec2d from gp ; Sense : Real from Standard ; Tolerance : Real from Standard ; oncurve : Boolean from Standard = Standard_True); --- Purpose : Performs the bisecting line between the curve -- and the point . -- is True if the point

is the point . Perform(me : in out ; Pnt : Point from Geom2d ; Cu : Curve from Geom2d ; P : Pnt2d from gp ; V1 : Vec2d from gp ; V2 : Vec2d from gp ; Sense : Real from Standard ; Tolerance : Real from Standard ; oncurve : Boolean from Standard = Standard_True ); --- Purpose : Performs the bisecting line between the curve -- and the point . -- is True if the point

is the point . Perform(me : in out ; Pnt1 : Point from Geom2d ; Pnt2 : Point from Geom2d ; P : Pnt2d from gp ; V1 : Vec2d from gp ; V2 : Vec2d from gp ; Sense : Real from Standard ; Tolerance : Real from Standard = 0.0 ; oncurve : Boolean from Standard = Standard_True ) ; --- Purpose : Performs the bisecting line between the two points -- and . Value(me) returns TrimmedCurve from Geom2d --- Purpose : Returns the Curve of . ---C++: return const & is static; ChangeValue (me : in out) returns mutable TrimmedCurve from Geom2d --- Purpose : Returns the Curve of . -- ---C++: return const & is static; fields thebisector : TrimmedCurve from Geom2d; end Bisec;