#include <Eigen/Dense>
#include <vector>
Go to the source code of this file.
|
| void | polyfem::mesh::clip_polygon_by_half_plane (const Eigen::MatrixXd &P, const Eigen::RowVector2d &q1, const Eigen::RowVector2d &q2, Eigen::MatrixXd &result) |
| | Clip a polygon by a half-plane.
|
| |
| void | polyfem::mesh::compute_visibility_kernel (const Eigen::MatrixXd &IV, Eigen::MatrixXd &OV) |
| | Determine the kernel of the given polygon.
|
| |
| bool | polyfem::mesh::is_star_shaped (const Eigen::MatrixXd &IV, Eigen::RowVector3d &bary) |
| | Determine whether a polygon is star-shaped or not.
|
| |
| void | polyfem::mesh::offset_polygon (const Eigen::MatrixXd &IV, Eigen::MatrixXd &OV, double eps) |
| | Compute offset polygon.
|
| |
| int | polyfem::mesh::is_inside (const Eigen::MatrixXd &IV, const Eigen::MatrixXd &Q, std::vector< bool > &inside) |
| | Compute whether points are inside a polygon.
|
| |
| void | polyfem::mesh::sample_polygon (const Eigen::MatrixXd &IV, int num_samples, Eigen::MatrixXd &S) |
| | Sample points on a polygon, evenly spaced from each other.
|
| |