SaDVIO
|
A polygon in the 3D mesh, representing a surface with its vertices, normal, barycenter, and covariance. More...
#include <mesh.h>
Public Member Functions | |
Polygon () | |
Polygon (std::vector< std::shared_ptr< Vertex >> vertices) | |
~Polygon ()=default | |
void | setNormal (Eigen::Vector3d normal) |
void | setBarycenter (Eigen::Vector3d barycenter) |
void | setCovariance (Eigen::Matrix2d covariance) |
void | setScore (double score) |
void | setOutlier () |
Eigen::Vector3d | getPolygonNormal () const |
Eigen::Vector3d | getBarycenter () const |
Eigen::Matrix2d | getCovariance () const |
std::vector< std::shared_ptr< Vertex > > | getVertices () const |
double | getScore () const |
bool | isOutlier () |
A polygon in the 3D mesh, representing a surface with its vertices, normal, barycenter, and covariance.
It contains the vertices of the polygon, its normal, barycenter, covariance matrix, and a traversability score.
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |