1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

83
src/Draw/Draw_Number.cxx Executable file
View File

@@ -0,0 +1,83 @@
// File: Draw_Number.cxx
// Created: Mon Aug 16 09:49:50 1993
// Author: Bruno DUMORTIER
// <dub@phylox>
#include <Draw_Number.ixx>
//=======================================================================
//function : Draw_Number
//purpose :
//=======================================================================
Draw_Number::Draw_Number(const Standard_Real V) :
myValue(V)
{
}
//=======================================================================
//function : Value
//purpose :
//=======================================================================
Standard_Real Draw_Number::Value()const
{
return myValue;
}
//=======================================================================
//function : Value
//purpose :
//=======================================================================
void Draw_Number::Value(const Standard_Real V)
{
myValue = V;
}
//=======================================================================
//function : DrawOn
//purpose :
//=======================================================================
void Draw_Number::DrawOn(Draw_Display&)const
{
}
//=======================================================================
//function : Copy
//purpose :
//=======================================================================
Handle(Draw_Drawable3D) Draw_Number::Copy()const
{
Handle(Draw_Number) D = new Draw_Number(myValue);
return D;
}
//=======================================================================
//function : Dump
//purpose :
//=======================================================================
void Draw_Number::Dump(Standard_OStream& S)const
{
S << myValue;
}
//=======================================================================
//function : Whatis
//purpose :
//=======================================================================
void Draw_Number::Whatis(Draw_Interpretor& S)const
{
S << "numeric";
}