Geometrize  1.0
C++ library for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Namespaces | Functions
shapeserializer.cpp File Reference
#include "shapeserializer.h"
#include <cassert>
#include <cmath>
#include <vector>
#include "../shape/circle.h"
#include "../shape/ellipse.h"
#include "../shape/line.h"
#include "../shape/polyline.h"
#include "../shape/quadraticbezier.h"
#include "../shape/rectangle.h"
#include "../shape/rotatedellipse.h"
#include "../shape/rotatedrectangle.h"
#include "../shape/shape.h"
#include "../shape/triangle.h"

Namespaces

 geometrize
 

Functions

std::vector< float > geometrize::getRawShapeData (const geometrize::Shape &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Circle &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Ellipse &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Line &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Polyline &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::QuadraticBezier &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Rectangle &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::RotatedEllipse &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::RotatedRectangle &s)
 
std::vector< float > geometrize::getRawShapeData (const geometrize::Triangle &s)