#include <GeomObject.h>
Inheritance diagram for Go::GeomObject:
Public Member Functions | |
virtual BoundingBox | boundingBox () const=0 |
Return the object's bounding box. | |
virtual int | dimension () const=0 |
Return the dimension of the space in which the object lies (usually 2 or 3). | |
virtual ClassType | instanceType () const=0 |
Return the class type identifier of a given, derived instance of GeomObject. | |
virtual GeomObject * | clone () const=0 |
Clone the GeomObject and return a pointer to the clone. | |
void | writeStandardHeader (std::ostream &os) const |
Write header information of the GeomObject to stream. | |
Static Public Member Functions | |
static ClassType | classType () |
Return the class type identifier of a given class derived from GeomObject. |
) regrouping all the properties that they have in common.
Definition at line 54 of file GeomObject.h.
void Go::GeomObject::writeStandardHeader | ( | std::ostream & | os | ) | const |
Write header information of the GeomObject to stream.
This typically precedes the act of writing the object itself to a stream, to signal to the receiver what object is streamed.