OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MyPolygon Class Reference

#include "Polygon.h"

Public Member Functions

 MyPolygon (unsigned int l, std::vector< std::pair< int, int > > c)
 
 MyPolygon ()
 
void setLayer (unsigned int layer)
 
unsigned int getLayer ()
 
std::vector< std::pair< int, int > > getCoordinates ()
 
void setCoordinates (std::vector< std::pair< int, int > > coords)
 

Constructor & Destructor Documentation

◆ MyPolygon() [1/2]

MyPolygon::MyPolygon ( unsigned int l,
std::vector< std::pair< int, int > > c )

◆ MyPolygon() [2/2]

MyPolygon::MyPolygon ( )

Member Function Documentation

◆ getCoordinates()

std::vector< std::pair< int, int > > MyPolygon::getCoordinates ( )

◆ getLayer()

unsigned int MyPolygon::getLayer ( )

◆ setCoordinates()

void MyPolygon::setCoordinates ( std::vector< std::pair< int, int > > coords)

◆ setLayer()

void MyPolygon::setLayer ( unsigned int layer)

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