23 #if GEOM_PSEUDO3D==GEOM_TRUE
24 namespace GEOM_FADE25D {
25 #elif GEOM_PSEUDO3D==GEOM_FALSE
26 namespace GEOM_FADE2D {
28 #error GEOM_PSEUDO3D is not defined
71 Color(
double r_,
double g_,
double b_,
double width_,
bool bFill_=
false);
88 bool operator<(
const Color& other)
const;
89 bool operator!=(
const Color& other)
const;
90 bool operator==(
const Color& other)
const;
96 friend std::ostream &operator<<(std::ostream &stream,
const Color& c);
103 inline std::ostream &operator<<(std::ostream &stream,
const Color& c)
105 stream<<
"Color (r,g,b): "<<c.
r<<
","<<c.
g<<
","<<c.
b<<
", linewidth="<<c.
width<<
", fill="<<c.
bFill;
Colorname
Predefined colors for convenience.
Definition: Color.h:34
Color for visualization.
Definition: Color.h:59
bool bFill
Fill the shape or not.
Definition: Color.h:95
float width
Linewidth.
Definition: Color.h:94
float b
Blue.
Definition: Color.h:93
float g
Green.
Definition: Color.h:92
Color(double r_, double g_, double b_, double width_, bool bFill_=false)
float r
Red.
Definition: Color.h:91
Color(Colorname c, float width_=0.001, bool bFill_=false)