LibreCAD
|
The Copy class Allows for copy of the current set of entities. More...
#include <entityops.h>
Public Member Functions | |
Copy (const geo::Coordinate &offset) | |
virtual | ~Copy () |
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 Copy class Allows for copy of the current set of entities.
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)); – Copy the entities 'in place' b:rotate(Coord(0,0), math.rad(45)) b:loop(7) b:execute()
Definition at line 160 of file entityops.h.
Copy::Copy | ( | const geo::Coordinate & | offset | ) |
Definition at line 109 of file entityops.cpp.
|
virtual |
Definition at line 129 of file entityops.cpp.
|
virtual |
|
private |
Definition at line 175 of file entityops.h.