Strategy which assigns constant material.
More...
#include <plask/geometry/edge.hpp>
Strategy which assigns constant material.
Definition at line 142 of file edge.hpp.
◆ SimpleMaterial()
| plask::geometry_edges::SimpleMaterial::SimpleMaterial |
( |
const shared_ptr< Material > & |
material | ) |
|
|
inline |
Construct SimpleMaterial strategy which use given material.
- Parameters
-
| material | material which will be assigned to result_material by apply method |
Definition at line 153 of file edge.hpp.
◆ applyHi()
Apply strategy to given point p.
- Parameters
-
| [in] | bbox_lo,bbox_hi | coordinates of geometry object bounding box in strategy working direction |
| [in,out] | p | coordinate of point in strategy working direction, it's (must be) higher than bbox_hi, this method can move this point |
| [out] | result_material | optionally, this method can assign to it material which should be used |
| [in] | opposite | strategy at opposite side (if known) |
Implements plask::geometry_edges::Strategy.
Definition at line 39 of file edge.cpp.
◆ applyLo()
Apply strategy to given point p.
- Parameters
-
| [in] | bbox_lo,bbox_hi | coordinates of geometry object bounding box in strategy working direction |
| [in,out] | p | coordinate of point in strategy working direction, it's (must be) lower than bbox_lo, this method can move this point |
| [out] | result_material | optionally, this method can assign to it material which should be used |
| [in] | opposite | strategy at opposite side (if known) |
Implements plask::geometry_edges::Strategy.
Definition at line 36 of file edge.cpp.
◆ clone()
| SimpleMaterial * plask::geometry_edges::SimpleMaterial::clone |
( |
| ) |
const |
|
overridevirtual |
◆ str()
| std::string plask::geometry_edges::SimpleMaterial::str |
( |
| ) |
const |
|
overridevirtual |
◆ type()
| Type plask::geometry_edges::SimpleMaterial::type |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ material
| shared_ptr<Material> plask::geometry_edges::SimpleMaterial::material |
Material which will be assigned to result_material by apply method.
Definition at line 147 of file edge.hpp.
The documentation for this struct was generated from the following files: