31 static pSolid makeSolid(
const std::vector<int>& model,
32 const std::vector<Geom::Pnt>& vertices,
33 std::vector<std::vector<Geom::Pnt> >& defectPolygons);
35 static pSolid makeSolid_by_Face_stiching(
const std::vector<int>& model,
36 const std::vector<Geom::Pnt>& vertices,
37 std::vector<std::vector<Geom::Pnt> >& defectPolygons);
43 static pSolid makeBox(
double length,
double width,
double height);
46 makeFourAngleRoof(
double length,
double width,
double height,
double leftSlope,
double rightSlope,
double leftHipSlope,
double rightHipSlope);
48 static pSolid makeHipRoofWithWall(
double length,
double width,
double height,
double wallHeight,
double slope,
double hipSlope,
bool halfRoof);
50 static pSolid makeBeveledPlate(
double length,
double width,
double height,
int bottomType,
int upperType,
double slope,
double angleRot);
52 static pSolid makeStairsU(
double length,
56 const std::vector<Geom::Pnt>& points,
57 const std::vector<double>& angles);
59 static pSolid makeStairsL(
double length,
63 const std::vector<Geom::Pnt>& points,
64 const std::vector<double>& angles);
66 static pSolid makeStairsI(
double length,
double width,
double height,
double stepWidth,
const std::vector<Geom::Pnt>& points);
68 static pSolid makeWindowArch(
double majorRadius,
double minorRadius,
double frameWidth,
double sectorWidth,
double depth,
bool cutOut =
true);
76 #ifndef LXAPI // INTERFACES BELOW ARE -NOT- PART OF THE LEXOCAD API 77 static void __setDefaultSolidTool__(
Topo::SolidTool* tool) { _defaultTool = tool; }
82 virtual pSolid _makeSolid(
const std::vector<int>& model,
83 const std::vector<Geom::Pnt>& vertices,
84 std::vector<std::vector<Geom::Pnt> >& defectPolygons);
85 virtual pSolid _makeSolid_by_Face_stiching(
const std::vector<int>& model,
86 const std::vector<Geom::Pnt>& vertices,
87 std::vector<std::vector<Geom::Pnt> >& defectPolygons);
91 _makeFourAngleRoof(
double length,
double width,
double height,
double leftSlope,
double rightSlope,
double leftHipSlope,
double rightHipSlope);
92 virtual pSolid _makeHipRoofWithWall(
double length,
double width,
double height,
double wallHeight,
double slope,
double hipSlope,
bool halfRoof);
93 virtual pSolid _makeBeveledPlate(
double length,
double width,
double height,
int bottomType,
int upperType,
double slope,
double angleRot);
94 virtual pSolid _makeStairsU(
double length,
98 const std::vector<Geom::Pnt>& points,
99 const std::vector<double>& angles);
100 virtual pSolid _makeStairsL(
double length,
104 const std::vector<Geom::Pnt>& points,
105 const std::vector<double>& angles);
106 virtual pSolid _makeStairsI(
double length,
double width,
double height,
double stepWidth,
const std::vector<Geom::Pnt>& points);
107 virtual pSolid _makeWindowArch(
double majorRadius,
double minorRadius,
double frameWidth,
double sectorWidth,
double depth,
bool cutOut);
std::shared_ptr< Topo::Solid const > pConstSolid
Definition: Shape.h:95
std::shared_ptr< Topo::Solid > pSolid
Definition: Shape.h:80
#define TOPO_EXPORT
Definition: topo_defines.h:8
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:42
std::shared_ptr< Topo::Shape const > pConstShape
Definition: Variant.h:81