datum = p;
return *this;
}
+ Polygon& Polygon::draw() {
+ Shape::draw_base(*Drawable::prime);
+ return *this;
+ }
Polygon& Polygon::draw(Drawable& target) {
Shape::draw_base(target);
return *this;
return *this;
}
+ Polygon& Polygon::centering() { Shape::centering(*Drawable::prime); return *this; }
Polygon& Polygon::centering(const Figure& fig) { centering(fig.getDatum()); return *this; }
Polygon& Polygon::centering(const Drawable &target) { centering(target.getCenter()); return *this; }
Polygon& Polygon::centering(const double x, const double y, const double z) { centering(Point(x,y,z)); return *this; }