#include <ClipperUtils.hpp>
|
static std::vector< Eigen::MatrixXd > | clip (const Eigen::MatrixXd &subject_polygon, const Eigen::MatrixXd &clipping_polygon) |
| Clip a polygon using convex polygon.
|
|
static PolyClipper::Vector2d | toPolyClipperVector (const Eigen::Vector2d &v) |
|
static Eigen::Vector2d | fromPolyClipperVector (const PolyClipper::Vector2d &v) |
|
Definition at line 15 of file ClipperUtils.hpp.
◆ PolygonClipping()
polyfem::utils::PolygonClipping::PolygonClipping |
( |
| ) |
|
|
delete |
◆ clip()
std::vector< Eigen::MatrixXd > polyfem::utils::PolygonClipping::clip |
( |
const Eigen::MatrixXd & |
subject_polygon, |
|
|
const Eigen::MatrixXd & |
clipping_polygon |
|
) |
| |
|
static |
◆ fromPolyClipperVector()
Eigen::Vector2d polyfem::utils::PolygonClipping::fromPolyClipperVector |
( |
const PolyClipper::Vector2d & |
v | ) |
|
|
static |
◆ toPolyClipperVector()
PolyClipper::Vector2d polyfem::utils::PolygonClipping::toPolyClipperVector |
( |
const Eigen::Vector2d & |
v | ) |
|
|
static |
The documentation for this class was generated from the following files: