Coverage Control Library
Loading...
Searching...
No Matches
PolygonFeature Struct Reference

A struct to store a polygon feature and a uniform importance value. More...

#include <typedefs.h>

Public Member Functions

 PolygonFeature ()
 
 PolygonFeature (PointVector const &p, float const i)
 

Public Attributes

PointVector poly
 
float imp = 0
 
int size = 0
 

Detailed Description

A struct to store a polygon feature and a uniform importance value.

Definition at line 56 of file typedefs.h.

Constructor & Destructor Documentation

◆ PolygonFeature() [1/2]

PolygonFeature ( )
inline

Definition at line 60 of file typedefs.h.

◆ PolygonFeature() [2/2]

PolygonFeature ( PointVector const & p,
float const i )
inline

Definition at line 61 of file typedefs.h.

Member Data Documentation

◆ imp

float imp = 0

Importance of the polygon

Definition at line 58 of file typedefs.h.

◆ poly

Definition at line 57 of file typedefs.h.

◆ size

int size = 0

Number of vertices in the polygon

Definition at line 59 of file typedefs.h.