#include <objcluster.h>
Public Member Functions | |
objvector () | |
objvector (int type, double font, double length, double x, double y, double angle) | |
void | write_stream (ofstream &f) |
void | read_stream (ifstream &f) |
objvector | operator- (objvector a) |
objvector | operator+ (objvector a) |
objvector | operator * (double a) |
objvector | operator/ (double a) |
objvector | dotproduct (objvector a) |
objvector | dotsqrt () |
objvector | dotdivide (objvector a, bool flag=true) |
objvector | objsqrt () |
objvector & | operator= (objvector a) |
bool | operator== (objvector a) |
objvector | dotabs () |
double | norm () |
double | normsquare () |
double | norm_2 (double f_r=1, double a_r=1, double l_r=1, double x_r=1, double y_r=1) |
void | clear () |
Public Attributes | |
int | Type |
double | FontHeight |
double | Length |
double | Centroid_X |
double | Centroid_Y |
double | Angle |
|
Constructor |
|
Constructor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
read_stream loads instance from file
|
|
write_stream outputs instance to file
|
|
|
|
|
|
|
|
|
|
|
|
|