OpenStructure
Public Member Functions | Data Fields
Gradient::Stop Struct Reference

#include <gradient.hh>

Public Member Functions

 Stop ()
 
 Stop (float tt, const Color &c)
 
Color GetColor () const
 
float GetRel () const
 
bool operator== (const Stop &ref) const
 

Data Fields

float t
 
Color color
 

Detailed Description

Definition at line 61 of file gradient.hh.

Constructor & Destructor Documentation

◆ Stop() [1/2]

Stop ( )
inline

Definition at line 62 of file gradient.hh.

◆ Stop() [2/2]

Stop ( float  tt,
const Color c 
)
inline

Definition at line 64 of file gradient.hh.

Member Function Documentation

◆ GetColor()

Color GetColor ( ) const
inline

Definition at line 68 of file gradient.hh.

◆ GetRel()

float GetRel ( ) const
inline

Definition at line 72 of file gradient.hh.

◆ operator==()

bool operator== ( const Stop ref) const
inline

Definition at line 76 of file gradient.hh.

Field Documentation

◆ color

Color color

Definition at line 66 of file gradient.hh.

◆ t

float t

Definition at line 65 of file gradient.hh.


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