|
PolyFEM
|
#include <Selection.hpp>
Public Member Functions | |
| AxisPlaneSelection (const json &selection, const BBox &mesh_bbox) | |
| bool | inside (const size_t p_id, const std::vector< int > &vs, const RowVectorNd &p) const override |
Public Member Functions inherited from polyfem::utils::Selection | |
| Selection (const int id) | |
| virtual | ~Selection () |
| virtual int | id (const size_t element_id, const std::vector< int > &vs, const RowVectorNd &p) const |
| bool | boundary_only () const |
Protected Attributes | |
| int | axis_ |
| double | position_ |
Protected Attributes inherited from polyfem::utils::Selection | |
| size_t | id_ |
Additional Inherited Members | |
Public Types inherited from polyfem::utils::Selection | |
| typedef std::array< RowVectorNd, 2 > | BBox |
Static Public Member Functions inherited from polyfem::utils::Selection | |
| static std::shared_ptr< Selection > | build (const json &j_selections, const BBox &mesh_bbox, const io::ResourceIO &resources) |
| Build a selection objects from a JSON selection. | |
| static std::vector< std::shared_ptr< utils::Selection > > | build_selections (const json &j_selections, const BBox &mesh_bbox, const io::ResourceIO &resources) |
| Build a vector of selection objects from a JSON selection(s). | |
Protected Member Functions inherited from polyfem::utils::Selection | |
| Selection () | |
Definition at line 131 of file Selection.hpp.
| polyfem::utils::AxisPlaneSelection::AxisPlaneSelection | ( | const json & | selection, |
| const BBox & | mesh_bbox | ||
| ) |
Definition at line 229 of file Selection.cpp.
|
overridevirtual |
Implements polyfem::utils::Selection.
Definition at line 258 of file Selection.cpp.
|
protected |
Definition at line 141 of file Selection.hpp.
Referenced by AxisPlaneSelection(), and inside().
|
protected |
Definition at line 142 of file Selection.hpp.
Referenced by AxisPlaneSelection(), and inside().