|
| | StrategyHolder (const StrategyType &strategy=Null()) |
| |
| template<int adirection> |
| | StrategyHolder (const StrategyHolder< adirection, StrategyType > &strategyHolder) |
| |
| | ~StrategyHolder () |
| |
| const StrategyType & | getStrategy () const |
| |
| void | setStrategy (const StrategyType &strategy) |
| |
| std::string | str () const |
| |
| StrategyHolder< direction, StrategyType > & | operator= (const StrategyType &strategy) |
| |
| template<int adirection> |
| StrategyHolder< direction, StrategyType > & | operator= (const StrategyHolder< adirection, StrategyType > &strategyHolder) |
| |
| template<int dims> |
| void | applyLo (const typename Primitive< dims >::Box &bbox, Vec< dims, double > &p, shared_ptr< Material > &result_material, const Strategy *opposite) const |
| |
| template<int dims> |
| void | applyHi (const typename Primitive< dims >::Box &bbox, Vec< dims, double > &p, shared_ptr< Material > &result_material, const Strategy *opposite) const |
| |
| template<int dims> |
| void | applyIfLo (const typename Primitive< dims >::Box &bbox, Vec< dims, double > &p, shared_ptr< Material > &result_material, const Strategy *opposite) const |
| |
| template<int dims> |
| void | applyIfHi (const typename Primitive< dims >::Box &bbox, Vec< dims, double > &p, shared_ptr< Material > &result_material, const Strategy *opposite) const |
| |
template<
int direction,
typename StrategyType = Strategy>
class plask::geometry_edges::StrategyHolder< direction, StrategyType >
Held edge strategy with given type and:
- delegate apply methods to held strategy,
- allow to assign strategy to self (using operator=).
- Template Parameters
-
| direction | held strategy working direction (coordinate of vector component) |
| StrategyType | (base) type of held strategy, typically Strategy or UniversalStrategy |
Definition at line 224 of file edge.hpp.