Blender V4.3
Freestyle::Predicates1D::ShapeUP1D Class Reference

#include <Predicates1D.h>

Inherits Freestyle::UnaryPredicate1D.

Public Member Functions

 ShapeUP1D (uint idFirst, uint idSecond=0)
 
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 shape to which the Interface1D belongs to has the same Id as the one specified by the user.

Definition at line 330 of file Predicates1D.h.

Constructor & Destructor Documentation

◆ ShapeUP1D()

Freestyle::Predicates1D::ShapeUP1D::ShapeUP1D ( uint idFirst,
uint idSecond = 0 )
inline

Builds the Predicate.

Parameters
idFirstThe first Id component.
idSecondThe second Id component.

Definition at line 341 of file Predicates1D.h.

Member Function Documentation

◆ getName()

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

Returns the string "ShapeUP1D".

Reimplemented from Freestyle::UnaryPredicate1D.

Definition at line 347 of file Predicates1D.h.

◆ operator()()

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

The () operator.

Reimplemented from Freestyle::UnaryPredicate1D.

Definition at line 353 of file Predicates1D.h.

References Freestyle::Functions1D::getShapeF1D().


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