Interrogation Functions

Space SpaceOf(void)

Returns the space that contains the basis.

BasisType Holds(void)

Returns the type of basis currently held by the basis.

char* Name(char* buf)

Fills in the specified buffer with the debug name of the basis, and returns a pointer to the buffer.

GeOb operator[](int n)

Returns the nth object from the basis, using zero-based indexing. For k-dimensional frames, the point is the kth object.

ScalarList operator()(GeOb& v)

Returns the coordinates of the object v with respect to this basis. The object is first mapped into the space of the basis, if necessary.

VBasis Dual(void)

Returns the vector basis that is the dual of this basis. Only valid for vector bases.