#include <plask/geometry/edge.hpp>
Definition at line 201 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 120 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 114 of file edge.cpp.
◆ canMoveOutsideBoundingBox()
bool plask::edge::Mirror::canMoveOutsideBoundingBox |
( |
| ) |
const |
|
overridevirtual |
Check if this strategy can move point p to place outside bounding box.
Default implementation return false
.
- Returns
true
if this strategy can move point p to place outside bounding box, false
if this strategy always move point p to bounding box or doesn't move p at all
Reimplemented from plask::edge::Strategy.
Definition at line 127 of file edge.cpp.
◆ clone()
Mirror * plask::edge::Mirror::clone |
( |
| ) |
const |
|
overridevirtual |
Clone this strategy.
- Returns
- strategy identical to this one, constructed using operator new
Implements plask::edge::Strategy.
Definition at line 131 of file edge.cpp.
◆ str()
std::string plask::edge::Mirror::str |
( |
| ) |
const |
|
overridevirtual |
Get string representation of this strategy.
- Returns
- string representation of this strategy
Implements plask::edge::Strategy.
Definition at line 135 of file edge.cpp.
◆ type()
Type plask::edge::Mirror::type |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following files: