PCL
pcl::PointsClockwisePredicate Class Reference

Predicate class for sorting a set of points in clockwise direction. More...

#include <Point.h>

Public Member Functions

 PointsClockwisePredicate ()=default
 
template<class C >
 PointsClockwisePredicate (const C &P)
 
template<typename T >
 PointsClockwisePredicate (const GenericPoint< T > &p)
 
 PointsClockwisePredicate (const PointsClockwisePredicate &)=default
 
template<class P1 , class P2 >
bool operator() (const P1 &a, const P2 &b) const
 

Detailed Description

Definition at line 1538 of file Point.h.

Constructor & Destructor Documentation

◆ PointsClockwisePredicate() [1/4]

pcl::PointsClockwisePredicate::PointsClockwisePredicate ( )
default

Default constructor.

◆ PointsClockwisePredicate() [2/4]

pcl::PointsClockwisePredicate::PointsClockwisePredicate ( const PointsClockwisePredicate )
default

Copy constructor.

◆ PointsClockwisePredicate() [3/4]

template<class C >
pcl::PointsClockwisePredicate::PointsClockwisePredicate ( const C &  P)
inline

Constructor from a set of points.

Initializes point sorting with respect to the barycenter coordinates of the specified set of points P.

Definition at line 1559 of file Point.h.

◆ PointsClockwisePredicate() [4/4]

template<typename T >
pcl::PointsClockwisePredicate::PointsClockwisePredicate ( const GenericPoint< T > &  p)
inline

Constructor with a prescribed barycenter point p.

Definition at line 1575 of file Point.h.

Member Function Documentation

◆ operator()()

template<class P1 , class P2 >
bool pcl::PointsClockwisePredicate::operator() ( const P1 &  a,
const P2 &  b 
) const
inline

Predicate function: Returns true iff the point a precedes the point b in clockwise sorting order.

Definition at line 1586 of file Point.h.


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