|
|
@ -154,7 +154,7 @@ class Loader |
|
|
|
{ |
|
|
|
public: |
|
|
|
/**
|
|
|
|
* @brief Union two visible primitive node, result will be writen to first noed |
|
|
|
* @brief Union two visible primitive node, result will be writen to first node |
|
|
|
* @param[in] body1 The first index of primitive node |
|
|
|
* @param[in] body2 The second index of primitive node |
|
|
|
*/ |
|
|
@ -176,7 +176,7 @@ public: |
|
|
|
} |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Intersect two visible primitive node, result will be writen to first noed |
|
|
|
* @brief Intersect two visible primitive node, result will be writen to first node |
|
|
|
* @param[in] body1 The first index of primitive node |
|
|
|
* @param[in] body2 The second index of primitive node |
|
|
|
*/ |
|
|
@ -196,7 +196,7 @@ public: |
|
|
|
} |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Difference two visible primitive node, result will be writen to first noed |
|
|
|
* @brief Difference two visible primitive node, result will be writen to first node |
|
|
|
* @param[in] body1 The first index of primitive node |
|
|
|
* @param[in] body2 The second index of primitive node |
|
|
|
*/ |
|
|
@ -252,7 +252,7 @@ public: |
|
|
|
* @brief Add a extrude body to csg tree |
|
|
|
* @param[in] points All the bottom point which define the base face |
|
|
|
* @param[in] bulges All the bulge on each edge of the base face |
|
|
|
* @param[in] extusion The Stretch direction and length |
|
|
|
* @param[in] extusion The stretch direction and length |
|
|
|
* @return The index of the added extrude body |
|
|
|
*/ |
|
|
|
BodyTag addExtrude(const std::vector<Point3D>& points, const std::vector<double>& bulges, const Vector3D& extusion) |
|
|
@ -357,8 +357,8 @@ public: |
|
|
|
* @brief Add a cone body to csg tree |
|
|
|
* @param[in] topPoint The top point of the cone |
|
|
|
* @param[in] bottomPoint The bottom point of the cone |
|
|
|
* @param[in] radius1 The radius of the top point |
|
|
|
* @param[in] radius2 The radius of the bottom point |
|
|
|
* @param[in] radius1 The radius of the top face |
|
|
|
* @param[in] radius2 The radius of the bottom face |
|
|
|
* @return The index of the added cone body |
|
|
|
*/ |
|
|
|
BodyTag addCone(const Point3D& topPoint, const Point3D& bottomPoint, const double radius1, const double radius2) |
|
|
@ -838,7 +838,7 @@ protected: |
|
|
|
* @brief Add a extrude body to csg tree with only two points |
|
|
|
* @param[in] points All the bottom point which define the base face |
|
|
|
* @param[in] bulges All the bulge on each edge of the base face |
|
|
|
* @param[in] extusion The Stretch direction and length |
|
|
|
* @param[in] extusion The stretch direction and length |
|
|
|
* @return The index of the added extrude body |
|
|
|
*/ |
|
|
|
BodyTag addExtrudeWithTwoPoint(const std::vector<Point3D>& points, |
|
|
|