LibreCAD
|
The Move class Allows for setting up the beginning of a loop (NOT YET IMPLEMENTED) More...
#include <entityops.h>
Public Member Functions | |
Move (const geo::Coordinate &offset) | |
virtual | ~Move () |
virtual std::vector < entity::CADEntity_CSPtr > | process (const std::shared_ptr< Document > document, std::vector< entity::CADEntity_CSPtr > entities, std::vector< entity::CADEntity_CSPtr > &workingBuffer, std::vector< entity::CADEntity_CSPtr > &removals, const std::vector< Base_SPtr > operationStack) |
![]() | |
virtual | ~Base () |
Private Attributes | |
geo::Coordinate | _offset |
The Move class Allows for setting up the beginning of a loop (NOT YET IMPLEMENTED)
Example (lua):
l=Line(Coord(0,0), Coord(10,100)); d=app.currentDocument() b=Builder(d) b:append(l) b:begin() b:copy(Coord(0,0)) b:rotate(Coord(0,0), math.rad(45)) b:loop(7); – loop 7 times over the copt/rotate operations b:execute()
Definition at line 124 of file entityops.h.
Move::Move | ( | const geo::Coordinate & | offset | ) |
Definition at line 83 of file entityops.cpp.
|
virtual |
Definition at line 102 of file entityops.cpp.
|
virtual |
|
private |
Definition at line 138 of file entityops.h.