openmbvcppinterface 3.1.0 OpenMBV C++ Interface

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
OpenMBV::PolygonPoint Class Reference

`#include <polygonpoint.h>`

## Public Member Functions

double | getXComponent ()
double | getYComponent ()
int | getBorderValue ()

## Static Public Member Functions

static std::shared_ptr< PolygonPoint > | create (double x_, double y_, int b_)
static void | serializePolygonPointContour (xercesc::DOMElement *parent, const std::shared_ptr< std::vector< std::shared_ptr< PolygonPoint > > > &cont)
static std::shared_ptr< std::vector< std::shared_ptr< PolygonPoint > > > | initializeUsingXML (xercesc::DOMElement *element)

## Protected Member Functions

| PolygonPoint (double x_, double y_, int b_)

## Static Protected Member Functions

static void | deleter (PolygonPoint *pp)

## Private Attributes

double | x
double | y
int | b

## Detailed Description

Polygon point x and y are the coordinates of a polygon-edge. If b is 0 this edge is in reality not a edge and is rendered smooth in OpenMBV. If b is 1 this edge is rendered non-smooth in OpenMBV.

## Member Function Documentation

## ◆ serializePolygonPointContour()

void OpenMBV::PolygonPoint::serializePolygonPointContour | ( | xercesc::DOMElement * | parent,
|  | const std::shared_ptr< std::vector< std::shared_ptr< PolygonPoint > > > & | cont
| ) |  |

static

write vector of polygon points to XML file

The documentation for this class was generated from the following files:

- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/polygonpoint.h
- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/polygonpoint.cc