Please send questions to st10@humboldt.edu .
/*-------------------------------------------------------
 Implementation file for class ColoredPoint3

 created by: Sharon Tuttle
 last modified: 12-3-03
---------------------------------------------------------*/

#include "ColoredPoint3.h"

// implementation of constructor(s)

ColoredPoint3::ColoredPoint3(double new_x, double new_y, 
			     double new_z, 
                             string new_ptColor) 
     : Point3(new_x, new_y, new_z), ptColor(new_ptColor)
{
}

ColoredPoint3::ColoredPoint3() : Point3(), ptColor("Black")
{
}

// implementation of accessor functions

string ColoredPoint3::get_ptColor() const
{
    return ptColor;
}

// implementation of mutator functions
        
void ColoredPoint3::set_ptColor(string new_ptColor)
{
    ptColor = new_ptColor;
}

// OTHER member function implementations, if desired