Blender  V3.3
Public Member Functions | List of all members
Freestyle::Predicates1D::ShapeUP1D Class Reference

#include <Predicates1D.h>

Inheritance diagram for Freestyle::Predicates1D::ShapeUP1D:
Freestyle::UnaryPredicate1D

Public Member Functions

 ShapeUP1D (unsigned idFirst, unsigned 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
 
voidpy_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 337 of file Predicates1D.h.

Constructor & Destructor Documentation

◆ ShapeUP1D()

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

Builds the Predicate.

Parameters
idFirstThe first Id component.
idSecondThe second Id component.

Definition at line 348 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 354 of file Predicates1D.h.

◆ operator()()

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

The () operator.

Reimplemented from Freestyle::UnaryPredicate1D.

Definition at line 360 of file Predicates1D.h.

References Freestyle::Functions1D::getShapeF1D(), and Freestyle::UnaryPredicate1D::result.


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