OpenLexocad
27.0
CmdExtrudeSubElementFace.h
Go to the documentation of this file.
1
// //
3
// LEXOCAD API //
4
// //
5
// ©2005-2016 Cadwork Informatik. All rights reserved. //
6
// //
7
// ONLY INCLUDE OTHER INTERFACES! //
8
// Lexocad provides API Classes for public use and //
9
// Implementation Classes for private use. //
10
// //
11
// - Do ONLY include and use the LEXOCAD API in this header. //
12
// - Do not change existing interfaces. //
13
// - Document your code! //
14
// //
15
// - All types from Base, Core, Geom, Topo are allowed here. //
16
// - In the Gui modules the use of Qt types is allowed. //
17
// //
19
20
#pragma once
21
#include <
Core/Command.h
>
22
#include <
OpenLxApp/SubElement.h
>
23
24
25
#include <memory>
26
#include <vector>
27
28
namespace
OpenLxCmd
29
{
36
class
LX_OPENLXCMD_EXPORT
CmdExtrudeSubElementFace
:
public
Core::Command
37
{
38
public
:
39
CmdExtrudeSubElementFace
();
40
CmdExtrudeSubElementFace
(std::shared_ptr<OpenLxApp::SubElement> aSubElem,
int
aFaceindex,
const
Geom::Dir
& aNormal,
double
aLength);
41
~
CmdExtrudeSubElementFace
();
42
43
bool
redo();
44
bool
undo();
45
46
std::shared_ptr<OpenLxApp::SubElement> getExtrudedSubElement()
const
;
47
48
private
:
49
Core::Command
* _cmd =
nullptr
;
50
};
51
}
// namespace OpenLxCmd
SubElement.h
OpenLxCmd::CmdExtrudeSubElementFace
Definition:
CmdExtrudeSubElementFace.h:36
Geom::Dir
Definition:
Dir.h:46
OpenLxCmd
Definition:
CmdAddCentroid.h:8
Command.h
Core::Command
Definition:
Command.h:35
lexocad
OpenLxCmd
include
OpenLxCmd
CmdExtrudeSubElementFace.h
Generated by
1.8.15