|
Blender
V3.3
|
#include <Predicates1D.h>
Public Member Functions | |
| WithinImageBoundaryUP1D (const real xmin, const real ymin, const real xmax, const real ymax) | |
| string | getName () const |
| int | operator() (Interface1D &inter) |
Public Member Functions inherited from Freestyle::UnaryPredicate1D | |
| UnaryPredicate1D () | |
| virtual | ~UnaryPredicate1D () |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::UnaryPredicate1D | |
| bool | result |
| void * | py_up1D |
Returns true if the Interface1D is (partly) within the image boundary.
Definition at line 377 of file Predicates1D.h.
|
inline |
Builds the Predicate.
| xmin | The X lower bound of the image boundary. |
| ymin | The Y lower bound of the image boundary. |
| xmax | The X upper bound of the image boundary. |
| ymax | The Y upper bound of the image boundary. |
Definition at line 392 of file Predicates1D.h.
|
inlinevirtual |
Returns the string "WithinImageBoundaryUP1D"
Reimplemented from Freestyle::UnaryPredicate1D.
Definition at line 398 of file Predicates1D.h.
|
inlinevirtual |
The () operator.
Reimplemented from Freestyle::UnaryPredicate1D.
Definition at line 404 of file Predicates1D.h.
References Freestyle::GeomUtils::intersect2dSeg2dArea(), blender::meshintersect::prev(), Freestyle::UnaryPredicate1D::result, Freestyle::Interface1D::verticesBegin(), Freestyle::Interface1D::verticesEnd(), Freestyle::x, and y.