-// File: GccAna_Circ2dBisec.cxx
-// Created: Mon Oct 7 16:17:54 1991
-// Author: Remi GILET
-// <reg@phobox>
-
+// Created on: 1991-10-07
+// Created by: Remi GILET
+// Copyright (c) 1991-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.
//=========================================================================
-// CREATION DE LA BISSECTICE ENTRE DEUX CERCLES. +
+// CREATION of the BISSECTICE between two CIRCLES. +
//=========================================================================
-#include <GccAna_Circ2dBisec.ixx>
-
-#include <gp_XY.hxx>
-#include <gp_Dir2d.hxx>
-#include <gp_Vec2d.hxx>
+#include <GccAna_Circ2dBisec.hxx>
+#include <GccEnt_BadQualifier.hxx>
+#include <GccInt_BCirc.hxx>
+#include <GccInt_BElips.hxx>
+#include <GccInt_BHyper.hxx>
+#include <GccInt_Bisec.hxx>
+#include <GccInt_BLine.hxx>
+#include <GccInt_BParab.hxx>
+#include <gp.hxx>
#include <gp_Circ2d.hxx>
+#include <gp_Dir2d.hxx>
#include <gp_Hypr2d.hxx>
-#include <gp.hxx>
+#include <gp_Vec2d.hxx>
+#include <gp_XY.hxx>
+#include <IntAna2d_AnaIntersection.hxx>
+#include <Precision.hxx>
#include <Standard_ConstructionError.hxx>
#include <Standard_OutOfRange.hxx>
-#include <GccInt_BParab.hxx>
-#include <GccInt_BLine.hxx>
-#include <GccInt_BElips.hxx>
-#include <GccInt_BCirc.hxx>
-#include <GccInt_BHyper.hxx>
-#include <GccEnt_BadQualifier.hxx>
#include <StdFail_NotDone.hxx>
-#include <IntAna2d_AnaIntersection.hxx>
-#include <Precision.hxx>
-//=========================================================================
+//=========================================================================
GccAna_Circ2dBisec::
GccAna_Circ2dBisec (const gp_Circ2d& Circ1 ,
const gp_Circ2d& Circ2 ) {
//=========================================================================
-// Initialisation des champs : +
-// - circle1 (Cercle : premier argument.) +
-// - circle2 (Ligne : deuxieme argument.) +
-// - intersection (Entier indiquant la position du plus petit +
-// des deux cercles par rapport a l autre.) +
-// - sameradius (Booleen indiquant si les deux cercles ont +
-// meme rayon ou non.) +
-// - NbrSol (Entier indiquant le nombre de solutions.) +
-// - WellDone (Booleen indiquant le succes ou non de l algo.). +
+// Initialization of fields : +
+// - circle1 (Circle : first argument.) +
+// - circle2 (Line : second argument.) +
+// - intersection (Integer showing the smallest position +
+// of two circles correspondingly to each other.) +
+// - sameradius (Booleen showing if the two circles have +
+// the same radius or not.) +
+// - NbrSol (Integer showing the number of solutions.) +
+// - WellDone (Boolean showing succes or failure of the algo.). +
//=========================================================================
WellDone = Standard_False;
}
//=========================================================================
-// Traitement. +
-// On recupere les coordonees des centres des cercles circle1 et circle2 +
+// Processing. +
+// Return the coordinates of centers of circles circle1 and circle2 +
// (xcencir1, ycencir1, xcencir2, ycencir2). +
-// On recupere aussi les rayons des deux cercles R1 et R2. +
+// Also return the radiuses of two circles R1 and R2. +
//=========================================================================
Handle(GccInt_Bisec) GccAna_Circ2dBisec::