Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::ConvexHull< 2, T > Struct Template Reference

#include <ConvexHull.h>

Inheritance diagram for model::ConvexHull< 2, T >:
Collaboration diagram for model::ConvexHull< 2, T >:

Public Types

typedef HullPoint< 2, T > HullPointType
typedef std::vector< HullPointType > HullPointContainerType

Public Member Functions

HullPointContainerType getPoints ()

Static Public Attributes

static constexpr int dim =2
static constexpr double tol =FLT_EPSILON

Detailed Description

template<typename T>
struct model::ConvexHull< 2, T >

Definition at line 80 of file ConvexHull.h.

Member Typedef Documentation

◆ HullPointContainerType

template<typename T>
typedef std::vector<HullPointType> model::ConvexHull< 2, T >::HullPointContainerType

Definition at line 85 of file ConvexHull.h.

◆ HullPointType

template<typename T>
typedef HullPoint<2,T> model::ConvexHull< 2, T >::HullPointType

Constructs the Convex-Hull of a planar set of points algorithm adapted from https://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain

Definition at line 84 of file ConvexHull.h.

Member Function Documentation

◆ getPoints()

template<typename T>
HullPointContainerType model::ConvexHull< 2, T >::getPoints ( )
inline

Definition at line 98 of file ConvexHull.h.

Member Data Documentation

◆ dim

template<typename T>
int model::ConvexHull< 2, T >::dim =2
staticconstexpr

Definition at line 86 of file ConvexHull.h.

◆ tol

template<typename T>
double model::ConvexHull< 2, T >::tol =FLT_EPSILON
staticconstexpr

Definition at line 87 of file ConvexHull.h.


The documentation for this struct was generated from the following file: