OpenLexocad  27.0
ProfileAPI.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/Pnt2d.h>
8 #include <OpenLxApp/Document.h>
10 #include <Topo/Shape.h>
11 
12 #include <memory>
13 
17 namespace OpenLxApp
18 {
19 OPENLXAPP_EXPORT void setShapeProfileParams(std::shared_ptr<Element> aElem, const Base::String& aProfileName);
20 OPENLXAPP_EXPORT std::shared_ptr<ArbitraryClosedProfileDef> createArbitraryClosedProfileDef(std::shared_ptr<Document> aDoc,
21  const std::vector<Geom::Pnt2d> aOuterLoop);
22 OPENLXAPP_EXPORT std::shared_ptr<ArbitraryOpenProfileDef> createArbitraryOpenProfileDef(std::shared_ptr<Document> aDoc,
23  const std::vector<Geom::Pnt2d> aLoop);
24 OPENLXAPP_EXPORT std::shared_ptr<ArbitraryProfileDefWithVoids> createArbitraryProfileDefWithVoids(
25  std::shared_ptr<Document> aDoc,
26  const std::vector<Geom::Pnt2d> aOuterLoop,
27  const std::vector<std::vector<Geom::Pnt2d>> aInnerLoops);
28 
29 
30 } // namespace OpenLxApp
OPENLXAPP_EXPORT void setShapeProfileParams(std::shared_ptr< Element > aElem, const Base::String &aProfileName)
OPENLXAPP_EXPORT std::shared_ptr< ArbitraryProfileDefWithVoids > createArbitraryProfileDefWithVoids(std::shared_ptr< Document > aDoc, const std::vector< Geom::Pnt2d > aOuterLoop, const std::vector< std::vector< Geom::Pnt2d >> aInnerLoops)
OPENLXAPP_EXPORT std::shared_ptr< ArbitraryClosedProfileDef > createArbitraryClosedProfileDef(std::shared_ptr< Document > aDoc, const std::vector< Geom::Pnt2d > aOuterLoop)
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:29
OPENLXAPP_EXPORT std::shared_ptr< ArbitraryOpenProfileDef > createArbitraryOpenProfileDef(std::shared_ptr< Document > aDoc, const std::vector< Geom::Pnt2d > aLoop)
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9