|
Blender V4.3
|
#include <Predicates1D.h>
Inherits Freestyle::UnaryPredicate1D.
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 370 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 385 of file Predicates1D.h.
|
inlinevirtual |
Returns the string "WithinImageBoundaryUP1D"
Reimplemented from Freestyle::UnaryPredicate1D.
Definition at line 391 of file Predicates1D.h.
|
inlinevirtual |
The () operator.
Reimplemented from Freestyle::UnaryPredicate1D.
Definition at line 397 of file Predicates1D.h.
References Freestyle::GeomUtils::intersect2dSeg2dArea(), Freestyle::Interface1D::verticesBegin(), and Freestyle::Interface1D::verticesEnd().