#include <Sketcher_Profile.hxx>
|
void | parse (const TCollection_AsciiString &, Functor *) |
| Parse sketcher script using specified functor. More...
|
|
void | badArgs () |
| Print an error message if the number of arguments of sketcher operator is wrong. More...
|
|
void | findNextCommand (const TColStd_Array1OfAsciiString &, TColStd_Array1OfAsciiString &, int, int &) |
| Find the next sketcher operator in the input string. More...
|
|
TCollection_AsciiString | extractCommand (const TCollection_AsciiString &) |
| Extract sketcher command from script. More...
|
|
Sketcher_Profile::Sketcher_Profile |
( |
| ) |
|
Sketcher_Profile::Sketcher_Profile |
( |
const char * |
command | ) |
|
- Parameters
-
command | sketcher script to parse |
References SetCommand().
void Sketcher_Profile::badArgs |
( |
| ) |
|
|
private |
TCollection_AsciiString Sketcher_Profile::extractCommand |
( |
const TCollection_AsciiString & |
cmd | ) |
|
|
private |
- Parameters
-
cmd | sketcher script to parse |
- Returns
- sketcher command
void Sketcher_Profile::findNextCommand |
( |
const TColStd_Array1OfAsciiString & |
aTab, |
|
|
TColStd_Array1OfAsciiString & |
a, |
|
|
int |
CurrentIndex, |
|
|
int & |
NumberOfArg |
|
) |
| |
|
private |
- Parameters
-
aTab | all sketcher command data |
a | sketcher operator with parameters is returned via this parameter |
CurrentIndex | current operator index |
NumberOfArg | number of operator arguments is returned via this parameter |
TCollection_AsciiString Sketcher_Profile::GetDump |
( |
bool * |
isDone = 0 | ) |
|
TopoDS_Shape Sketcher_Profile::GetShape |
( |
bool * |
isDone = 0 , |
|
|
double * |
error = 0 |
|
) |
| |
void Sketcher_Profile::parse |
( |
const TCollection_AsciiString & |
cmd, |
|
|
Functor * |
functor |
|
) |
| |
|
private |
- Parameters
-
cmd | sketcher script to parse |
References Sketcher_Profile::Functor::addAngle(), Sketcher_Profile::Functor::addArcAbsolute(), Sketcher_Profile::Functor::addArcAngleRadiusLength(), Sketcher_Profile::Functor::addArcCenterAbsolute(), Sketcher_Profile::Functor::addArcCenterRelative(), Sketcher_Profile::Functor::addArcDirectionRadiusLength(), Sketcher_Profile::Functor::addArcRadiusAbsolute(), Sketcher_Profile::Functor::addArcRadiusLength(), Sketcher_Profile::Functor::addArcRadiusRelative(), Sketcher_Profile::Functor::addArcRelative(), Sketcher_Profile::Functor::addPoint(), Sketcher_Profile::Functor::addSegmentAbsolute(), Sketcher_Profile::Functor::addSegmentAngleLength(), Sketcher_Profile::Functor::addSegmentAngleX(), Sketcher_Profile::Functor::addSegmentAngleY(), Sketcher_Profile::Functor::addSegmentDirectionLength(), Sketcher_Profile::Functor::addSegmentDirectionX(), Sketcher_Profile::Functor::addSegmentDirectionY(), Sketcher_Profile::Functor::addSegmentLength(), Sketcher_Profile::Functor::addSegmentParalX(), Sketcher_Profile::Functor::addSegmentParalXToZero(), Sketcher_Profile::Functor::addSegmentParalY(), Sketcher_Profile::Functor::addSegmentParalYToZero(), Sketcher_Profile::Functor::addSegmentRelative(), Sketcher_Profile::Functor::addSegmentX(), Sketcher_Profile::Functor::addSegmentY(), badArgs(), Sketcher_Profile::Functor::closeWire(), Sketcher_Profile::Functor::closeWireAndBuildFace(), extractCommand(), findNextCommand(), Sketcher_Profile::Functor::init(), Sketcher_Profile::Functor::initCommand(), Sketcher_Profile::Functor::makeResult(), myCommand, Sketcher_Profile::Functor::nextCommand(), and Sketcher_Profile::Functor::setNumberOfCommand().
void Sketcher_Profile::SetCommand |
( |
const char * |
command | ) |
|
- Parameters
-
command | sketcher script to parse |
References myCommand.
TCollection_AsciiString Sketcher_Profile::myCommand |
|
private |
The documentation for this class was generated from the following files: