#include <Selection.hpp>
|
static std::shared_ptr< Selection > | build (const json &j_selections, const BBox &mesh_bbox, const std::string &root_path="") |
| 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 std::string &root_path="") |
| Build a vector of selection objects from a JSON selection(s).
|
|
Definition at line 10 of file Selection.hpp.
◆ BBox
◆ Selection() [1/2]
polyfem::utils::Selection::Selection |
( |
const int |
id | ) |
|
|
inline |
◆ ~Selection()
virtual polyfem::utils::Selection::~Selection |
( |
| ) |
|
|
inlinevirtual |
◆ Selection() [2/2]
polyfem::utils::Selection::Selection |
( |
| ) |
|
|
inlineprotected |
◆ build()
std::shared_ptr< Selection > polyfem::utils::Selection::build |
( |
const json & |
j_selections, |
|
|
const BBox & |
mesh_bbox, |
|
|
const std::string & |
root_path = "" |
|
) |
| |
|
static |
◆ build_selections()
std::vector< std::shared_ptr< Selection > > polyfem::utils::Selection::build_selections |
( |
const json & |
j_selections, |
|
|
const BBox & |
mesh_bbox, |
|
|
const std::string & |
root_path = "" |
|
) |
| |
|
static |
◆ id()
virtual int polyfem::utils::Selection::id |
( |
const size_t |
element_id, |
|
|
const std::vector< int > & |
vs, |
|
|
const RowVectorNd & |
p |
|
) |
| const |
|
inlinevirtual |
◆ inside()
virtual bool polyfem::utils::Selection::inside |
( |
const size_t |
p_id, |
|
|
const std::vector< int > & |
vs, |
|
|
const RowVectorNd & |
p |
|
) |
| const |
|
pure virtual |
◆ id_
size_t polyfem::utils::Selection::id_ |
|
protected |
The documentation for this class was generated from the following files: