Correa 1
C++ library with Python bindings to analyse the shape of simple closed curves in R^2
|
#include <correa_bindings.h>
Public Member Functions | |
PyPolygon (std::string file_path) | |
PyPolygon (std::string file_path, std::string focal_path) | |
PyPolygon (std::string file_path, std::vector< double > focal_point) | |
PersistenceDiagram | persistence_diagram () |
int | size () |
double | length () |
double | area () |
auto | vertices () |
auto | ellipse_max () |
auto | ellipse_max_a () |
auto | ellipse_max_b () |
auto | ellipse_max_ratio () |
auto | ellipse_min () |
auto | ellipse_min_a () |
auto | ellipse_min_b () |
auto | ellipse_min_ratio () |
auto | ellipse_lsq () |
auto | ellipse_lsq_a () |
auto | ellipse_lsq_b () |
auto | ellipse_lsq_ratio () |
auto | willmore () |
Public Attributes | |
Polygon | polygon |
Friends | |
ostream & | operator<< (ostream &out, PyPolygon &P) |
std::vector< double > | compare_polygons (PyPolygon poly1, PyPolygon poly2) |
double | wasserstein_distance (PyPolygon poly1, PyPolygon poly2, int q) |
double | frechet_distance (PyPolygon poly1, PyPolygon poly2) |
double | max_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
double | min_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
double | lsq_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
double | willmore_distance (PyPolygon poly1, PyPolygon poly2) |
double | curv_ot_distance (PyPolygon poly1, PyPolygon poly2) |
Expose polygons to python
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
print information about the polygon