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
75 Color(
double r_,
double g_,
double b_,
double width_,
bool bFill_=
false);
92 bool operator<(
const Color& other)
const;
93 bool operator!=(
const Color& other)
const;
94 bool operator==(
const Color& other)
const;
109 stream<<
"Color (r,g,b): "<<c.
r<<
","<<c.
g<<
","<<c.
b<<
", linewidth="<<c.
width<<
", fill="<<c.
bFill;
std::ostream & operator<<(std::ostream &stream, const Bbox2 &pC)
Print the box.
Definition: Bbox2.h:492
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:99
float width
Linewidth.
Definition: Color.h:98
float b
Blue.
Definition: Color.h:97
float g
Green.
Definition: Color.h:96
Color(double r_, double g_, double b_, double width_, bool bFill_=false)
float r
Red.
Definition: Color.h:95
Color(Colorname c, float width_=0.001, bool bFill_=false)