|
| ShapeFunctor () |
| Constructor. More...
|
|
virtual void | initCommand () |
| Prepare functor for processing of new sketcher operator. More...
|
|
virtual void | addPoint (const TCollection_AsciiString &x, const TCollection_AsciiString &y) |
| Add point with absolute coordinates (x, y) More...
|
|
virtual void | addAngle (const TCollection_AsciiString &angle) |
| Add angle. More...
|
|
virtual void | addSegmentParalX (const TCollection_AsciiString &x) |
| Add new segment of x length along X axis. More...
|
|
virtual void | addSegmentParalXToZero () |
| Add new segment along X axis with X coordinate of end set to 0. More...
|
|
virtual void | addSegmentParalY (const TCollection_AsciiString &y) |
| Add new segment of y length along Y axis. More...
|
|
virtual void | addSegmentParalYToZero () |
| Add new segment along Y axis with Y coordinate of end set to 0. More...
|
|
virtual void | setAngle (const TCollection_AsciiString &angle) |
| Set current angle. More...
|
|
virtual void | setDirection (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy) |
| Set current direction. More...
|
|
virtual void | addSegmentAbsolute (const TCollection_AsciiString &x, const TCollection_AsciiString &y) |
| Add segment by absolute coordinates. More...
|
|
virtual void | addSegmentRelative (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy) |
| Add segment by relativ coordinates. More...
|
|
virtual void | addSegmentLength (const TCollection_AsciiString &length) |
| Add segment with specified length along current direction. More...
|
|
virtual void | addSegmentX (const TCollection_AsciiString &x, int CurrentIndex) |
| Add segment along X axis to reach specified X coordinate. More...
|
|
virtual void | addSegmentY (const TCollection_AsciiString &y, int CurrentIndex) |
| Add segment along Y axis to reach specified Y coordinate. More...
|
|
virtual void | addSegmentAngleLength (const TCollection_AsciiString &angle, const TCollection_AsciiString &length, int &CurrentIndex) |
| Add segment by specified angle and length. More...
|
|
virtual void | addSegmentAngleX (const TCollection_AsciiString &angle, const TCollection_AsciiString &x, int &CurrentIndex) |
| Add segment that crosses Y axis by specified angle and X coordinate. More...
|
|
virtual void | addSegmentAngleY (const TCollection_AsciiString &angle, const TCollection_AsciiString &y, int &CurrentIndex) |
| Add segment that crosses X axis by specified angle and Y coordinate. More...
|
|
virtual void | addSegmentDirectionLength (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &length, int &CurrentIndex) |
| Add segment by specified direction and length. More...
|
|
virtual void | addSegmentDirectionX (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &x, int &CurrentIndex) |
| Add segment by specified direction and X coordinate. More...
|
|
virtual void | addSegmentDirectionY (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &y, int &CurrentIndex) |
| Add segment by specified direction and Y coordinate. More...
|
|
virtual void | addArcAbsolute (const TCollection_AsciiString &x, const TCollection_AsciiString &y) |
| Add arc along current direction vector by specified absolute coordinates. More...
|
|
virtual void | addArcRelative (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy) |
| Add arc along current direction vector by specified relative coordinates. More...
|
|
virtual void | addArcRadiusAbsolute (const TCollection_AsciiString &x, const TCollection_AsciiString &y, const TCollection_AsciiString &radius, const TCollection_AsciiString &flag) |
| Add arc with given radius by specified absolute coordinates. More...
|
|
virtual void | addArcRadiusRelative (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &radius, const TCollection_AsciiString &flag) |
| Add arc with given radius by specified relative coordinates. More...
|
|
virtual void | addArcCenterAbsolute (const TCollection_AsciiString &x, const TCollection_AsciiString &y, const TCollection_AsciiString &xc, const TCollection_AsciiString &yc, const TCollection_AsciiString &flag1, const TCollection_AsciiString &flag2) |
| Add arc with given center by specified absolute coordinates. More...
|
|
virtual void | addArcCenterRelative (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &xc, const TCollection_AsciiString &yc, const TCollection_AsciiString &flag1, const TCollection_AsciiString &flag2) |
| Add arc with given center by specified relative coordinates. More...
|
|
virtual void | addArcRadiusLength (const TCollection_AsciiString &radius, const TCollection_AsciiString &length) |
| Add arc with given radius by specified length. More...
|
|
virtual void | addArcAngleRadiusLength (const TCollection_AsciiString &angle, const TCollection_AsciiString &radius, const TCollection_AsciiString &length, int &CurrentIndex) |
| Add arc with given radius by specified angle and length. More...
|
|
virtual void | addArcDirectionRadiusLength (const TCollection_AsciiString &dx, const TCollection_AsciiString &dy, const TCollection_AsciiString &radius, const TCollection_AsciiString &length, int &CurrentIndex) |
| Add arc with given radius by specified direction and length. More...
|
|
virtual void | closeWire () |
| Close wire. More...
|
|
virtual void | closeWireAndBuildFace () |
| Close wire and build face. More...
|
|
virtual void | nextCommand (int &CurrentIndex) |
| Complete parsing of current operator. More...
|
|
virtual void | makeResult () |
| Finish parsing and create result. More...
|
|
TopoDS_Shape | getShape () |
| Get resulting shape. More...
|
|
| Functor () |
| Constructor. More...
|
|
virtual | ~Functor () |
| Destructor. More...
|
|
virtual void | init (const TCollection_AsciiString &) |
| Initialize functor from the script. More...
|
|
void | setNumberOfCommand (int n) |
| Set total number of sketcher operators. More...
|
|
double | error () |
| Get error (numerical value that describes, e.g. a deviation of point from the specified arc) More...
|
|
bool | isOk () |
| Get result of parsing. More...
|
|
Functor that generates a Python script from sketcher command.