class pointf

Declared in: Primitive++.h
Library: libVector++.so
Derived from: primitivef << BArchivable

Description

The pointf class is an implementation of a point in 3 dimensions.

Constructors

pointf(); pointf(vectorf); pointf(pointf *)
The pointf data type is assigned to its pased vector. Passing it () results in an assignment of the origin. Passing it a pointer to another point will copy the other point into it.

pointf(BMessage *)
Takes a BMessage with point data and creates a pointf with the passed data.

Members

void transform(basisf) and
void translate(vectorf)
do as they are described in primitivef.

void draw()
rests unimplemented.

status_t Archive(BMessage *, bool)
Archived information:
NAME TYPE VALUE
GType B_STRING_TYPE "POINT"
Coords B_RAW_TYPE {dump of coordinates}
class B_STRING_TYPE pointf

static BArchivable *Instantiate(BMessage *)
Takes a BMessage and returns the BArchivable-cast pointer to the new pointf. The calling procedure now owns the pointf.

vectorf vertex
The vector comprising the point.