SubZero Common
Common library components for an FRC CommandRobot
Loading...
Searching...
No Matches
subzero::DetectionParser::BoundingBox Struct Reference

#include <DetectionParser.h>

+ Collaboration diagram for subzero::DetectionParser::BoundingBox:

Static Public Member Functions

static BoundingBox parse (std::array< double, 4 > boxes)
 

Public Attributes

std::pair< double, double > topLeft
 
std::pair< double, double > bottomRight
 
double width
 
double height
 

Detailed Description

Definition at line 13 of file DetectionParser.h.

Member Function Documentation

◆ parse()

static BoundingBox subzero::DetectionParser::BoundingBox::parse ( std::array< double, 4 > boxes)
inlinestatic

Definition at line 22 of file DetectionParser.h.

Member Data Documentation

◆ bottomRight

std::pair<double, double> subzero::DetectionParser::BoundingBox::bottomRight

Definition at line 17 of file DetectionParser.h.

◆ height

double subzero::DetectionParser::BoundingBox::height

Definition at line 19 of file DetectionParser.h.

◆ topLeft

std::pair<double, double> subzero::DetectionParser::BoundingBox::topLeft

Definition at line 15 of file DetectionParser.h.

◆ width

double subzero::DetectionParser::BoundingBox::width

Definition at line 18 of file DetectionParser.h.


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