xmsgrid  1.0
XmGeometry.h File Reference

Code to calculate the convex hull of a set of points in two dimensions. More...

#include <algorithm>
#include <xmscore/misc/base_macros.h>
#include <xmscore/misc/boost_defines.h>
#include <xmscore/stl/vector.h>

Go to the source code of this file.

Namespaces

 xms
 XMS Namespace.
 

Functions

VecPt3d xms::ConvexHull (const std::vector< Pt3< double >> &a_points)
 Returns the convex hull of a set of points (Deprecated). More...
 
VecInt xms::ConvexHullWithIndices (const std::vector< int > &a_points, std::shared_ptr< XmUGrid > a_ugrid)
 Returns the convex hull of a set of points (Deprecated). More...
 
bool xms::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). More...
 
bool xms::DoLineSegmentsCross (const Pt3< double > &a_segment1Point1, const Pt3< double > &a_segment1Point2, const Pt3< double > &a_segment2Point1, const Pt3< double > &a_segment2Point2)
 Determine whether 2 line segments cross (Deprecated). More...
 

Detailed Description

Code to calculate the convex hull of a set of points in two dimensions.

Definition in file XmGeometry.h.