mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-29 06:21:46 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
68
src/BRepBuilderAPI/BRepBuilderAPI_Command.cxx
Executable file
68
src/BRepBuilderAPI/BRepBuilderAPI_Command.cxx
Executable file
@@ -0,0 +1,68 @@
|
||||
// File: BRepBuilderAPI_Command.cxx
|
||||
// Created: Fri Jul 23 15:51:38 1993
|
||||
// Author: Remi LEQUETTE
|
||||
// <rle@nonox>
|
||||
|
||||
|
||||
#include <BRepBuilderAPI_Command.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepBuilderAPI_Command
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
BRepBuilderAPI_Command::BRepBuilderAPI_Command() :
|
||||
myDone(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
void BRepBuilderAPI_Command::Delete()
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : IsDone
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean BRepBuilderAPI_Command::IsDone()const
|
||||
{
|
||||
return myDone;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Check
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BRepBuilderAPI_Command::Check()const
|
||||
{
|
||||
if (!myDone)
|
||||
StdFail_NotDone::Raise("BRep_API: command not done");
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Done
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BRepBuilderAPI_Command::Done()
|
||||
{
|
||||
myDone = Standard_True;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : NotDone
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void BRepBuilderAPI_Command::NotDone()
|
||||
{
|
||||
myDone = Standard_False;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user