//==========================================================================
//function : topoLoad
-// chargement d une face dans l explorer.
+// loading of a face in the explorer.
//==========================================================================
static Standard_Integer topoload (Draw_Interpretor& , Standard_Integer argc, const char** argv)
{
//==========================================================================
//function : drawcont
-// visualisation du contour defini par l explorateur.
+// visualization of the contour defined by the explorer.
//==========================================================================
static Standard_Integer drawcont(Draw_Interpretor& , Standard_Integer , const char**)
{
//==========================================================================
//function : mat
-// calcul de la carte des lieux bisecteur sur le contour defini
-// par l explorateur.
+// calculate the map of locations bisector on the contour defined by
+// the explorer.
//==========================================================================
static Standard_Integer mat(Draw_Interpretor& , Standard_Integer, const char**)
{
return 0;
}
-//==========================================================================
+//============================================================================
//function : zone
-// construction et affichage de la zone de proximite associee aux
-// elements de base definis par l edge ou le vertex.
-//==========================================================================
+// construction and display of the proximity zone associated to the
+// base elements defined by the edge or the vertex.
+//============================================================================
static Standard_Integer zone(Draw_Interpretor& , Standard_Integer argc , const char** argv)
{
if (argc < 2) return 1;
//==========================================================================
//function : side
-// side = left => calcul a gauche du contour.
-// side = right => calcul a droite du contour.
+// side = left => calculation to the left of the contour.
+// side = right => calculation to the right of the contour.
//==========================================================================
static Standard_Integer side(Draw_Interpretor& , Standard_Integer, const char** argv)
//==========================================================================
//function : result
-// Affichage complet de la carte calculee.
+// Complete display of the calculated map.
//==========================================================================
static Standard_Integer result(Draw_Interpretor& , Standard_Integer, const char**)
{
//==========================================================================
//function : DrawCurve
-// Affichage d une courbe <aCurve> de Geom2d. dans une couleur
-// definie par <Indice>.
-// Indice = 1 jaune,
-// Indice = 2 bleu,
-// Indice = 3 rouge,
-// Indice = 4 vert.
+// Display of curve <aCurve> of Geom2d in a color defined by <Indice>.
+// Indice = 1 yellow,
+// Indice = 2 blue,
+// Indice = 3 red,
+// Indice = 4 green.
//==========================================================================
void DrawCurve(const Handle(Geom2d_Curve)& aCurve,
const Standard_Integer Indice)
curve =(*(Handle_Bisector_BisecAna*)&curve)->Geom2dCurve();
type = curve->DynamicType();
}
- // PB de representation des courbes semi_infinies.
+ // PB of representation of semi_infinite curves.
gp_Parab2d gpParabola;
gp_Hypr2d gpHyperbola;
Standard_Real Focus;
Standard_Real Limit = 50000.;
Standard_Real delta = 400;
- // PB de representation des courbes semi_infinies.
+ // PB of representation of semi_infinite curves.
if (aCurve->LastParameter() == Precision::Infinite()) {
if (type == STANDARD_TYPE(Geom2d_Parabola)) {
else {
CurveDraw = aCurve;
}
- // fin PB.
+ // end PB.
}
else {
CurveDraw = aCurve;