Strategy which moves point p to nearest edge.
More...
#include <plask/geometry/edge.hpp>
Strategy which moves point p to nearest edge.
Definition at line 169 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::edge::Strategy.
Definition at line 68 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::edge::Strategy.
Definition at line 65 of file edge.cpp.
◆ clone()
Extend * plask::edge::Extend::clone |
( |
| ) |
const |
|
overridevirtual |
◆ str()
std::string plask::edge::Extend::str |
( |
| ) |
const |
|
overridevirtual |
Get string representation of this strategy.
- Returns
- string representation of this strategy
Implements plask::edge::Strategy.
Definition at line 76 of file edge.cpp.
◆ type()
Type plask::edge::Extend::type |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following files: