VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::Polygon2D Class Reference

#include <VICUS_Polygon2D.h>

Inheritance diagram for VICUS::Polygon2D:
[legend]

Public Member Functions

 Polygon2D ()=default
 
 Polygon2D (const std::vector< IBKMK::Vector2D > &vertexes)
 
void readXML (const TiXmlElement *element)
 
TiXmlElement * writeXML (TiXmlElement *parent) const
 

Detailed Description

Class Polygon2D stores a polygon of 2D points. This class merely wraps IBKMK::Polygon2D and provides read/write functionality.

Constructor & Destructor Documentation

◆ Polygon2D() [1/2]

VICUS::Polygon2D::Polygon2D ( )
default

◆ Polygon2D() [2/2]

VICUS::Polygon2D::Polygon2D ( const std::vector< IBKMK::Vector2D > &  vertexes)
inline

Member Function Documentation

◆ readXML()

void VICUS::Polygon2D::readXML ( const TiXmlElement *  element)

◆ writeXML()

TiXmlElement * VICUS::Polygon2D::writeXML ( TiXmlElement *  parent) const

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