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