Polygon2D Struct Reference

#include <VisionX/components/image_processor/OpenPoseEstimation/_LegacyOpenPoseEstimation/Util.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 48 of file Util.h.

Member Typedef Documentation

◆ PointList

using PointList = std::vector<Point>

Definition at line 60 of file Util.h.

Constructor & Destructor Documentation

◆ Polygon2D() [1/2]

Polygon2D ( )
inline

Definition at line 65 of file Util.h.

◆ Polygon2D() [2/2]

Polygon2D ( PointList  points)
inline

Definition at line 66 of file Util.h.

Member Function Documentation

◆ isInside()

bool isInside ( FramedPositionPtr  point) const
inline

Definition at line 84 of file Util.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isLeft()

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

Definition at line 77 of file Util.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ points

std::vector<Point> points

Definition at line 63 of file Util.h.


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