Polygon2D Struct Reference

#include <VisionX/libraries/OpenPose/MonocularOpenPoseEstimation/OpenPoseEstimationUtil.h>

Classes

struct  Point
 

Public Types

using PointList = std::vector< Point >
 

Public Member Functions

bool isInside (FramedPositionPtr point) const
 
int isLeft (Point p0, Point p1, Point p2) const
 
 Polygon2D ()
 
 Polygon2D (PointList points)
 

Public Attributes

std::vector< Pointpoints
 

Detailed Description

Definition at line 50 of file OpenPoseEstimationUtil.h.

Member Typedef Documentation

◆ PointList

using PointList = std::vector<Point>

Definition at line 62 of file OpenPoseEstimationUtil.h.

Constructor & Destructor Documentation

◆ Polygon2D() [1/2]

Polygon2D ( )
inline

Definition at line 67 of file OpenPoseEstimationUtil.h.

◆ Polygon2D() [2/2]

Polygon2D ( PointList  points)
inline

Definition at line 68 of file OpenPoseEstimationUtil.h.

Member Function Documentation

◆ isInside()

bool isInside ( FramedPositionPtr  point) const
inline

Definition at line 86 of file OpenPoseEstimationUtil.h.

◆ isLeft()

int isLeft ( Point  p0,
Point  p1,
Point  p2 
) const
inline

Definition at line 79 of file OpenPoseEstimationUtil.h.

Member Data Documentation

◆ points

std::vector<Point> points

Definition at line 65 of file OpenPoseEstimationUtil.h.


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