float operator /( ColourComponent const & p_cpnt, ColourComponent const & p_scalar )
	{
		float fValue;
		p_cpnt.convertTo( fValue );
		ColourComponent cpnt( &fValue );
		cpnt /= p_scalar;
		return fValue;
	}
Beispiel #2
0
void auxdata::DrcPoly::info(std::ostringstream& ost, real DBU) const
{
    ost << "polygon - {";
    for (unsigned i = 0; i < _psize; i++)
    {
        TP cpnt(_pdata[2*i], _pdata[2*i+1]);
        cpnt.info(ost, DBU);
        if (i != _psize - 1) ost << " , ";
    }
    ost << "};";
}