blob: 5224c71db24fec32e55342eb0d738dbf307c5e93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// File: Draw_Circle2D.cxx
// Created: Thu Apr 30 12:05:20 1992
// Author: Remi LEQUETTE
// <rle@sdsun1>
#include <Draw_Circle2D.ixx>
//=======================================================================
//function : Draw_Circle2D
//purpose :
//=======================================================================
Draw_Circle2D::Draw_Circle2D(const gp_Circ2d& C,
const Standard_Real A1, const Standard_Real A2,
const Draw_Color& col) :
myCirc(C), myA1(A1), myA2(A2), myColor(col)
{
}
//=======================================================================
//function : DrawOn
//purpose :
//=======================================================================
void Draw_Circle2D::DrawOn(Draw_Display& d) const
{
d.SetColor(myColor);
d.Draw(myCirc,myA1,myA2);
}
|