]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.h
#3532 Split and order contours (Rotating Plane)
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuShowNPoints_Tools.h
index 3b85d44c471f42298893490f2e533111603eee2d..b521f6b88c8bc83ed6fceb6ab3b4630b84e90589 100644 (file)
@@ -53,6 +53,9 @@ class bbcreaMaracasVisu_EXPORT ShowNPoints_Tools
     void JoinPoints();
     void SetMesh();
     void SeparateSplines();
+    std::vector<double> GetProjectionPointOnAxis(double pointToProject[3], double originAxis[3], double axisDir[3]);
+    std::vector<std::vector<std::vector<double>>> GetOrderedPointsAroundPlane(std::vector<double> planeOrigin, std::vector<double> planeNormal,  std::vector<double> rotAxis, std::vector<double> pX, std::vector<double> pY, std::vector<double> pZ);
+    std::vector<double> GetPlaneNormalFromPointsRefPoint(std::vector<double> pointsX, std::vector<double> pointsY, std::vector<double> pointsZ, std::vector<double> refPoint);
 
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)