mavsdk::Geofence::Polygon Struct Reference

#include: geofence.h


Polygon type.

Data Structures

struct Point

Public Types

Type Description
enum Type Polygon Fence Types.

Public Member Functions

Type Name Description
  Polygon () Constructor. Creates the Polygon for a specific geometry.
  ~Polygon () Destructor (internal use only).

Data Fields

std::vector< Point > points - Vector of points that define the polygon.

Type type - Polygon fence type.

Constructor & Destructor Documentation

Polygon()

mavsdk::Geofence::Polygon::Polygon()

Constructor. Creates the Polygon for a specific geometry.

~Polygon()

mavsdk::Geofence::Polygon::~Polygon()

Destructor (internal use only).

Member Enumeration Documentation

enum Type

Polygon Fence Types.

MAVLink supports inclusion and exclusion polygon fences.

Value Description
INCLUSION
EXCLUSION

Field Documentation

points

std::vector<Point> mavsdk::Geofence::Polygon::points

Vector of points that define the polygon.

type

Type mavsdk::Geofence::Polygon::type

Polygon fence type.

© Dronecode 2017-2019. License: CC BY 4.0            Updated: 2019-07-02 01:03:37

results matching ""

    No results matching ""