20#ifndef _OPENMBV_POLYGONPOINT_H_
21#define _OPENMBV_POLYGONPOINT_H_
26#include "openmbvcppinterface/body.h"
39 PolygonPoint(
double x_,
double y_,
int b_) : x(x_), y(y_), b(b_) {}
43 static std::shared_ptr<PolygonPoint> create(
double x_,
double y_,
int b_) {
48 double getXComponent() {
return x; }
49 double getYComponent() {
return y; }
50 int getBorderValue() {
return b; }
56 const std::shared_ptr<std::vector<std::shared_ptr<PolygonPoint> > > &cont);
58 static std::shared_ptr<std::vector<std::shared_ptr<PolygonPoint> > > initializeUsingXML(xercesc::DOMElement *element);
Definition: polygonpoint.h:37
static void serializePolygonPointContour(xercesc::DOMElement *parent, const std::shared_ptr< std::vector< std::shared_ptr< PolygonPoint > > > &cont)
Definition: polygonpoint.cc:30