Class SurfaceStyle

Nested Relationships

Class Documentation

class IfcGeom::SurfaceStyle

Public Functions

SurfaceStyle()
SurfaceStyle(int id)
SurfaceStyle(const std::string &name)
SurfaceStyle(int id, const std::string &name)
bool operator==(const SurfaceStyle &other)
const std::string &Name() const

ID name, e.g. “surface-style-66675-metal—aluminium”.

const std::string &original_name() const

Original name, if available, e.g. “Metal - Aluminium”.

const boost::optional<ColorComponent> &Diffuse() const
const boost::optional<ColorComponent> &Specular() const
const boost::optional<double> &Transparency() const
const boost::optional<double> &Specularity() const
boost::optional<ColorComponent> &Diffuse()
boost::optional<ColorComponent> &Specular()
boost::optional<double> &Transparency()
boost::optional<double> &Specularity()
class ColorComponent

Public Functions

ColorComponent(double r, double g, double b)
const double &R() const
const double &G() const
const double &B() const
double &R()
double &G()
double &B()