xmsgrid  1.0
XmGeometry.h
Go to the documentation of this file.
1 #pragma once
2 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 //----- Included files ---------------------------------------------------------
11 
12 // 3. Standard library headers
13 #include <algorithm>
14 
15 // 4. External library headers
16 
17 // 5. Shared code headers
20 #include <xmscore/stl/vector.h>
21 
22 //----- Forward declarations ---------------------------------------------------
23 
24 //----- Namespace declaration --------------------------------------------------
25 
27 namespace xms
28 {
29 //----- Forward declarations ---------------------------------------------------
30 class XmUGrid;
31 
32 //----- Constants / Enumerations -----------------------------------------------
33 
34 //----- Structs / Classes ------------------------------------------------------
35 
36 //----- Function prototypes ----------------------------------------------------
37 
38 // !!!Deprecated!!!
39 std::vector<Pt3d> ConvexHull(const std::vector<Pt3<double>>& a_points);
40 
41 // !!!Deprecated!!!
42 VecInt ConvexHullWithIndices(const std::vector<int>& a_points, std::shared_ptr<XmUGrid> a_ugrid);
43 
44 // !!!Deprecated!!!
45 bool DoLineSegmentsCross(const std::pair<Pt3<double>, Pt3<double>>& a_segment1,
46  const std::pair<Pt3<double>, Pt3<double>>& a_segment2);
47 
48 // !!!Deprecated!!!
49 bool DoLineSegmentsCross(const Pt3<double>& a_segment1Point1,
50  const Pt3<double>& a_segment1Point2,
51  const Pt3<double>& a_segment2Point1,
52  const Pt3<double>& a_segment2Point2);
53 
54 } // namespace xms
std::vector< int > VecInt
bool DoLineSegmentsCross(const std::pair< Pt3< double >, Pt3< double >> &a_segment1, const std::pair< Pt3< double >, Pt3< double >> &a_segment2)
Determine whether 2 line segments intersect (Deprecated).
Definition: XmGeometry.cpp:99
VecInt ConvexHullWithIndices(const std::vector< int > &a_points, std::shared_ptr< XmUGrid > a_ugrid)
Returns the convex hull of a set of points (Deprecated).
Definition: XmGeometry.cpp:70
XMS Namespace.
Definition: geoms.cpp:34
VecPt3d ConvexHull(const std::vector< Pt3< double >> &a_points)
Returns the convex hull of a set of points (Deprecated).
Definition: XmGeometry.cpp:55