https://github.com/NSchertler/GeneralizedMotorcycleGraph
Tip revision: a34738fe34a051760b4042dc9d740231e511fec1 authored by Nico Schertler on 31 October 2020, 07:04:57 UTC
Updated access token
Updated access token
Tip revision: a34738f
PolygonTriangulation.h
#pragma once
#include <vector>
#include <array>
#include <Eigen/Core>
//Triangulates a 3D polygon according to the DP algorithm presented in
// Filling gaps in the boundary of a polyhedron, Barequet and Sharir, Computer Aided Geometric Design 1995
extern std::vector<std::array<int, 3>> TriangulatePolygon(const std::vector<Eigen::Vector3f>& polygon);