Blender V5.0
Freestyle::Predicates1D::WithinImageBoundaryUP1D Class Reference

#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

Detailed Description

Returns true if the Interface1D is (partly) within the image boundary.

Definition at line 364 of file Predicates1D.h.

Constructor & Destructor Documentation

◆ WithinImageBoundaryUP1D()

Freestyle::Predicates1D::WithinImageBoundaryUP1D::WithinImageBoundaryUP1D ( const real xmin,
const real ymin,
const real xmax,
const real ymax )
inline

Builds the Predicate.

Parameters
xminThe X lower bound of the image boundary.
yminThe Y lower bound of the image boundary.
xmaxThe X upper bound of the image boundary.
ymaxThe Y upper bound of the image boundary.

Definition at line 379 of file Predicates1D.h.

Member Function Documentation

◆ getName()

string Freestyle::Predicates1D::WithinImageBoundaryUP1D::getName ( ) const
inlinevirtual

Returns the string "WithinImageBoundaryUP1D"

Reimplemented from Freestyle::UnaryPredicate1D.

Definition at line 385 of file Predicates1D.h.

◆ operator()()

int Freestyle::Predicates1D::WithinImageBoundaryUP1D::operator() ( Interface1D & inter)
inlinevirtual

The documentation for this class was generated from the following file: