From 1faa3f9075463a9cad0dea1f179c92e324957299 Mon Sep 17 00:00:00 2001 From: wangxiaolong Date: Sun, 13 Oct 2024 16:44:08 +0800 Subject: [PATCH] Add loader --- algoim/organizer/loader.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/algoim/organizer/loader.hpp b/algoim/organizer/loader.hpp index 7e24715..04ed710 100644 --- a/algoim/organizer/loader.hpp +++ b/algoim/organizer/loader.hpp @@ -175,7 +175,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 */ @@ -202,7 +202,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 */ @@ -225,7 +225,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 */ @@ -290,7 +290,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& points, const std::vector& bulges, const Vector3D& extusion) @@ -426,8 +426,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) @@ -989,7 +989,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& points,